mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Update ReplicatedMergeTreeCleanupThread.cpp
This commit is contained in:
parent
4d198f2bfe
commit
64a27e592b
@ -237,7 +237,7 @@ void ReplicatedMergeTreeCleanupThread::markLostReplicas(const std::unordered_map
|
|||||||
{
|
{
|
||||||
auto multi_responses = futures[i].get();
|
auto multi_responses = futures[i].get();
|
||||||
if (multi_responses.responses[0]->error == Coordination::Error::ZBADVERSION)
|
if (multi_responses.responses[0]->error == Coordination::Error::ZBADVERSION)
|
||||||
throw Exception(candidate_lost_replicas[i] + " became active, when we clear log", DB::ErrorCodes::REPLICA_STATUS_CHANGED);
|
throw Exception(candidate_lost_replicas[i] + " became active, when we marked lost replicas.", DB::ErrorCodes::REPLICA_STATUS_CHANGED);
|
||||||
zkutil::KeeperMultiException::check(multi_responses.error, requests[i], multi_responses.responses);
|
zkutil::KeeperMultiException::check(multi_responses.error, requests[i], multi_responses.responses);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user