mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
style check
This commit is contained in:
parent
a43cac2c1a
commit
8f8872dc42
@ -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);
|
||||
}
|
||||
|
||||
|
@ -3323,7 +3323,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