CLICKHOUSE-3847 fix comments.

This commit is contained in:
VadimPE 2018-07-31 12:01:24 +03:00
parent 40999bfb0c
commit 9b5620fac1
2 changed files with 3 additions and 3 deletions

View File

@ -144,8 +144,7 @@ void ReplicatedMergeTreeCleanupThread::markLostReplicas(std::unordered_map<Strin
zkutil::CreateMode::Persistent));
}
zkutil::Responses responses;
auto code = zookeeper->multi(ops, responses);
auto code = zookeeper->multi(ops);
}

View File

@ -39,7 +39,8 @@ private:
/// Remove old records from ZooKeeper.
void clearOldLogs();
/// Mark lost replicas.
/// We don't want to keep logs for inactive replicas.
/// We mark these replicas as lost.
void markLostReplicas(std::unordered_map<String, UInt64> log_pointers_lost_replicas, String min_record);
/// Remove old block hashes from ZooKeeper. This is done by the leader replica.