Do not write retriable errors for Replicated mutate/merge into error log

Fixes: e3f892f84a ("fix gtest with MemoryWriteBuffer, do not mute exception in ReplicatedMergeMutateTaskBase")
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2023-10-23 13:36:33 +02:00
parent 966f1b6378
commit 38a4547c05

View File

@ -69,11 +69,11 @@ bool ReplicatedMergeMutateTaskBase::executeStep()
else
tryLogCurrentException(log, __PRETTY_FUNCTION__);
/** This exception will be written to the queue element, and it can be looked up using `system.replication_queue` table.
* The thread that performs this action will sleep a few seconds after the exception.
* See `queue.processEntry` function.
*/
throw;
/// This exception will be written to the queue element, and it can be looked up using `system.replication_queue` table.
/// The thread that performs this action will sleep a few seconds after the exception.
/// See `queue.processEntry` function.
if (!retryable_error)
throw;
}
catch (...)
{