From fd9483efbea531db968bd432861d7bb1f990abd3 Mon Sep 17 00:00:00 2001 From: alesapin Date: Fri, 6 Dec 2019 12:03:04 +0300 Subject: [PATCH] Just trigger CI --- dbms/src/Storages/StorageMergeTree.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbms/src/Storages/StorageMergeTree.cpp b/dbms/src/Storages/StorageMergeTree.cpp index cf4b175bbf3..2addbeb6f54 100644 --- a/dbms/src/Storages/StorageMergeTree.cpp +++ b/dbms/src/Storages/StorageMergeTree.cpp @@ -355,9 +355,8 @@ public: { MergeTreeDataPart::TTLInfos ttl_infos; for (auto & part_ptr : future_part_.parts) - { ttl_infos.update(part_ptr->ttl_infos); - } + reserved_space = storage.tryReserveSpacePreferringTTLRules(total_size, ttl_infos, time(nullptr)); } if (!reserved_space)