Merge branch 'CLICKHOUSE-3847' of https://github.com/VadimPE/ClickHouse into CLICKHOUSE-3847

This commit is contained in:
VadimPE 2018-08-27 19:23:08 +03:00
commit 418375aa1d

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);
}
}