Update ReplicatedMergeTreeCleanupThread.cpp

This commit is contained in:
Vadim 2018-08-27 19:00:40 +03:00 committed by GitHub
parent 4d198f2bfe
commit 64a27e592b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ void ReplicatedMergeTreeCleanupThread::markLostReplicas(const std::unordered_map
{
auto multi_responses = futures[i].get();
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);
}
}