mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
start and stop mutations_finalizing_task during replica restart [#CLICKHOUSE-3747]
This commit is contained in:
parent
b6aa7542d0
commit
66d49f0abc
@ -181,6 +181,7 @@ bool ReplicatedMergeTreeRestartingThread::tryStartup()
|
||||
|
||||
storage.queue_updating_task->activateAndSchedule();
|
||||
storage.mutations_updating_task->activateAndSchedule();
|
||||
storage.mutations_finalizing_task->activateAndSchedule();
|
||||
storage.cleanup_thread.start();
|
||||
storage.alter_thread.start();
|
||||
storage.part_check_thread.start();
|
||||
@ -326,6 +327,7 @@ void ReplicatedMergeTreeRestartingThread::partialShutdown()
|
||||
|
||||
storage.queue_updating_task->deactivate();
|
||||
storage.mutations_updating_task->deactivate();
|
||||
storage.mutations_finalizing_task->deactivate();
|
||||
|
||||
storage.cleanup_thread.stop();
|
||||
storage.alter_thread.stop();
|
||||
|
Loading…
Reference in New Issue
Block a user