remove irrelevant comments

This commit is contained in:
Alexander Tokmakov 2021-08-18 15:33:11 +03:00
parent 09ff66da0e
commit 0ed046eb7b

View File

@ -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();
} }