mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 20:42:04 +00:00
Updated destructor to notify even when queue empty - Updated checking of SYSTEM SYNC REPLICA
This commit is contained in:
parent
b22fd40d92
commit
2bbe08ce8b
@ -2497,10 +2497,7 @@ void ReplicatedMergeTreeQueue::notifySubscribers(size_t new_queue_size, const St
|
||||
|
||||
ReplicatedMergeTreeQueue::~ReplicatedMergeTreeQueue()
|
||||
{
|
||||
if (!queue.empty())
|
||||
{
|
||||
notifySubscribers(0, queue.back().get()->log_entry_id);
|
||||
}
|
||||
notifySubscribers(0, "");
|
||||
}
|
||||
|
||||
String padIndex(Int64 index)
|
||||
|
Loading…
Reference in New Issue
Block a user