mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +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()
|
ReplicatedMergeTreeQueue::~ReplicatedMergeTreeQueue()
|
||||||
{
|
{
|
||||||
if (!queue.empty())
|
notifySubscribers(0, "");
|
||||||
{
|
|
||||||
notifySubscribers(0, queue.back().get()->log_entry_id);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String padIndex(Int64 index)
|
String padIndex(Int64 index)
|
||||||
|
Loading…
Reference in New Issue
Block a user