Updated destructor to notify even when queue empty - Updated checking of SYSTEM SYNC REPLICA

This commit is contained in:
Smita Kulkarni 2023-01-27 22:37:42 +01:00
parent b22fd40d92
commit 2bbe08ce8b

View File

@ -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)