mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
commit
f43ad338ed
@ -472,7 +472,7 @@ void ReplicatedMergeTreeBlockOutputStream::commitPart(
|
||||
/// Check if this quorum insert is parallel or not
|
||||
if (zookeeper->exists(storage.zookeeper_path + "/quorum/status"))
|
||||
storage.updateQuorum(part->name, false);
|
||||
else if (zookeeper->exists(storage.zookeeper_path + "/quorum/parallel/" + part->name))
|
||||
else if (zookeeper->exists(storage.zookeeper_path + "/quorum/parallel/" + part->name))
|
||||
storage.updateQuorum(part->name, true);
|
||||
}
|
||||
|
||||
|
@ -3325,7 +3325,7 @@ bool StorageReplicatedMergeTree::fetchPart(const String & part_name, const Stora
|
||||
/// Check if this quorum insert is parallel or not
|
||||
if (zookeeper->exists(zookeeper_path + "/quorum/status"))
|
||||
updateQuorum(part_name, false);
|
||||
else if (zookeeper->exists(zookeeper_path + "/quorum/parallel/" + part_name))
|
||||
else if (zookeeper->exists(zookeeper_path + "/quorum/parallel/" + part_name))
|
||||
updateQuorum(part_name, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user