mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fixed incorrect failed OP detection in ZooKeeper. [#CLICKHOUSE-2]
This commit is contained in:
parent
bdac9214a6
commit
63cc34d3f6
1
.gitignore
vendored
1
.gitignore
vendored
@ -43,6 +43,7 @@ cmake-build-*
|
|||||||
# Python cache
|
# Python cache
|
||||||
*.pyc
|
*.pyc
|
||||||
__pycache__
|
__pycache__
|
||||||
|
*.pytest_cache
|
||||||
|
|
||||||
# ignore generated files
|
# ignore generated files
|
||||||
*-metrika-yandex
|
*-metrika-yandex
|
||||||
|
@ -775,7 +775,7 @@ size_t KeeperMultiException::getFailedOpIndex(int32_t code, const Responses & re
|
|||||||
|
|
||||||
KeeperMultiException::KeeperMultiException(int32_t code, const Requests & requests, const Responses & responses)
|
KeeperMultiException::KeeperMultiException(int32_t code, const Requests & requests, const Responses & responses)
|
||||||
: KeeperException("Transaction failed at op #" + std::to_string(getFailedOpIndex(code, responses)), code),
|
: KeeperException("Transaction failed at op #" + std::to_string(getFailedOpIndex(code, responses)), code),
|
||||||
requests(requests), responses(responses)
|
requests(requests), responses(responses), failed_op_index(getFailedOpIndex(code, responses))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user