mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
CLICKHOUSE-3847 fix comments.
This commit is contained in:
parent
40999bfb0c
commit
9b5620fac1
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user