From e64b2df87492d0cb1da61c1101e4d5d45f16fec3 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Thu, 15 Mar 2018 22:06:23 +0300 Subject: [PATCH] Update ReplicatedMergeTreeBlockOutputStream.cpp --- .../Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp b/dbms/src/Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp index 22fb1794756..1d5ec76c652 100644 --- a/dbms/src/Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp +++ b/dbms/src/Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp @@ -372,7 +372,7 @@ void ReplicatedMergeTreeBlockOutputStream::commitPart(zkutil::ZooKeeperPtr & zoo storage.merge_selecting_event.set(); /// Lock nodes have been already deleted, do not delete them in destructor - block_number_lock.setIsUnlocked(); + block_number_lock.assumeUnlocked(); } else if (zkutil::isUserError(info.code)) {