mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
remove irrelevant comments
This commit is contained in:
parent
09ff66da0e
commit
0ed046eb7b
@ -4325,7 +4325,6 @@ void StorageReplicatedMergeTree::startup()
|
|||||||
restarting_thread.start();
|
restarting_thread.start();
|
||||||
|
|
||||||
/// Wait while restarting_thread initializes LeaderElection (and so on) or makes first attempt to do it
|
/// Wait while restarting_thread initializes LeaderElection (and so on) or makes first attempt to do it
|
||||||
/// TODO Do we still need startup_event?
|
|
||||||
startup_event.wait();
|
startup_event.wait();
|
||||||
|
|
||||||
startBackgroundMovesIfNeeded();
|
startBackgroundMovesIfNeeded();
|
||||||
@ -7206,7 +7205,6 @@ MutationCommands StorageReplicatedMergeTree::getFirstAlterMutationCommandsForPar
|
|||||||
|
|
||||||
void StorageReplicatedMergeTree::startBackgroundMovesIfNeeded()
|
void StorageReplicatedMergeTree::startBackgroundMovesIfNeeded()
|
||||||
{
|
{
|
||||||
/// FIXME is it related to replication somehow? If it is we should start it from RestartingThread only
|
|
||||||
if (areBackgroundMovesNeeded())
|
if (areBackgroundMovesNeeded())
|
||||||
background_moves_executor.start();
|
background_moves_executor.start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user