From 705529ca03f26e923625209b086b4d1abd31bf8c Mon Sep 17 00:00:00 2001 From: alesapin Date: Thu, 10 Feb 2022 22:50:15 +0300 Subject: [PATCH] Followup --- src/Storages/MergeTree/MergeFromLogEntryTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/MergeFromLogEntryTask.cpp b/src/Storages/MergeTree/MergeFromLogEntryTask.cpp index 8d185a9ac44..be3a872971e 100644 --- a/src/Storages/MergeTree/MergeFromLogEntryTask.cpp +++ b/src/Storages/MergeTree/MergeFromLogEntryTask.cpp @@ -160,7 +160,7 @@ std::pair MergeFromLogEntryT if (auto disk = reserved_space->getDisk(); disk->getType() == DB::DiskType::S3) { String dummy; - if (!storage.findReplicaHavingCoveringPart(entry.new_part_name, true).empty()) + if (!storage.findReplicaHavingCoveringPart(entry.new_part_name, true, dummy).empty()) { LOG_DEBUG(log, "Merge of part {} finished by some other replica, will fetch merged part", entry.new_part_name); return {false, {}};