mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Backport #68127 to 24.8: Output an operation error for ZK Multi request failed operation into log
This commit is contained in:
parent
976e20ed41
commit
0dce42d316
@ -1570,7 +1570,7 @@ size_t getFailedOpIndex(Coordination::Error exception_code, const Coordination::
|
||||
|
||||
|
||||
KeeperMultiException::KeeperMultiException(Coordination::Error exception_code, size_t failed_op_index_, const Coordination::Requests & requests_, const Coordination::Responses & responses_)
|
||||
: KeeperException(exception_code, "Transaction failed: Op #{}, path", failed_op_index_),
|
||||
: KeeperException(exception_code, "Transaction failed ({}): Op #{}, path", exception_code, failed_op_index_),
|
||||
requests(requests_), responses(responses_), failed_op_index(failed_op_index_)
|
||||
{
|
||||
addMessage(getPathForFirstFailedOp());
|
||||
|
Loading…
Reference in New Issue
Block a user