Remove dead code

This commit is contained in:
Nicolae Vartolomei 2021-02-08 17:19:35 +00:00 committed by GitHub
parent 1c053c877c
commit a8f37e7704
2 changed files with 0 additions and 15 deletions

View File

@ -3754,18 +3754,6 @@ MergeTreeData::CurrentlyMovingPartsTagger::~CurrentlyMovingPartsTagger()
}
}
bool MergeTreeData::selectPartsAndMove()
{
if (parts_mover.moves_blocker.isCancelled())
return false;
auto moving_tagger = selectPartsForMove();
if (moving_tagger->parts_to_move.empty())
return false;
return moveParts(std::move(moving_tagger));
}
std::optional<JobAndPool> MergeTreeData::getDataMovingJob()
{
if (parts_mover.moves_blocker.isCancelled())

View File

@ -916,9 +916,6 @@ protected:
/// Moves part to specified space, used in ALTER ... MOVE ... queries
bool movePartsToSpace(const DataPartsVector & parts, SpacePtr space);
/// Selects parts for move and moves them, used in background process
bool selectPartsAndMove();
private:
/// RAII Wrapper for atomic work with currently moving parts