mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update MergeTreePartsMover.cpp
This commit is contained in:
parent
47f0e3c72f
commit
555b20bc2e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user