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, {}};