From f6f33168aac87d63e534195c98f45aa7b47748ef Mon Sep 17 00:00:00 2001 From: Alexandra Latysheva Date: Fri, 9 Oct 2020 12:11:21 +0000 Subject: [PATCH] fix compilation error --- .../MergeTree/ReplicatedMergeTreeRestartingThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp b/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp index 27114cfa846..27e870bda78 100644 --- a/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp +++ b/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp @@ -246,9 +246,9 @@ void ReplicatedMergeTreeRestartingThread::updateQuorumIfWeHavePart() { ReplicatedMergeTreeQuorumEntry quorum_entry(quorum_str); if (!quorum_entry.replicas.count(storage.replica_name) - && storage.getActiveContainingPart(part_name))) + && storage.getActiveContainingPart(part_name)) { - LOG_WARNING(log, "We have part {} but we is not in quorum. Updating quorum. This shouldn't happen often.", partition); + LOG_WARNING(log, "We have part {} but we is not in quorum. Updating quorum. This shouldn't happen often.", part_name); storage.updateQuorum(part_name, true); } }