mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Misc [#CLICKHOUSE-2].
This commit is contained in:
parent
b993667156
commit
d3d976a6fb
@ -1978,7 +1978,7 @@ void StorageReplicatedMergeTree::becomeLeader()
|
|||||||
if (merge_selecting_thread.joinable())
|
if (merge_selecting_thread.joinable())
|
||||||
{
|
{
|
||||||
LOG_INFO(log, "Deleting old leader");
|
LOG_INFO(log, "Deleting old leader");
|
||||||
is_leader_node = false; // exit trigger inside thread
|
is_leader_node = false; /// exit trigger inside thread
|
||||||
merge_selecting_thread.join();
|
merge_selecting_thread.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user