Update MergeTreePartsMover.cpp

This commit is contained in:
OnePiece 2021-12-27 21:38:51 +08:00 committed by GitHub
parent 47f0e3c72f
commit 555b20bc2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ bool MergeTreePartsMover::selectPartsForMove(
time_t time_of_move = time(nullptr);
auto metadata_snapshot = data->getInMemoryMetadataPtr();
if (need_to_move.empty() && !metadata_snapshot->hasAnyMoveTTL())
return false;