mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
Update ReplicatedMergeTreeCleanupThread.cpp
This commit is contained in:
parent
9bce62719f
commit
58fa299b0a
@ -116,7 +116,7 @@ void ReplicatedMergeTreeCleanupThread::clearOldLogs()
|
||||
min_pointer_active_replica = std::min(min_pointer_active_replica, log_pointer);
|
||||
else
|
||||
{
|
||||
/// We can not mark lost replicas.
|
||||
/// We can not mark lost replicas twice.
|
||||
if (zookeeper->get(storage.zookeeper_path + "/replicas/" + replica + "/is_lost") == "0")
|
||||
{
|
||||
hosts_version[replica] = host_stat.version;
|
||||
|
Loading…
Reference in New Issue
Block a user