mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
Updated to remove waiting ids till the removed log entry - Updated checking of SYSTEM SYNC REPLICA
This commit is contained in:
parent
a95609e0bc
commit
39966457d9
@ -7553,7 +7553,8 @@ bool StorageReplicatedMergeTree::waitForProcessingQueue(UInt64 max_wait_millisec
|
||||
}
|
||||
else
|
||||
{
|
||||
wait_for_ids.erase(wait_for_ids.begin(),iterator);
|
||||
/// Remove items till the removed_log_entry_id (including it)
|
||||
wait_for_ids.erase(wait_for_ids.begin(),iterator + 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user