And waits for them. That's pointless.
}
        else if (code == Coordination::Error::ZBADVERSION)
        {
            
            continue;
        }
        else
            throw Coordination::Exception(code, quorum_last_part_path);
    }
}
bool StorageReplicatedMergeTree::partIsInsertingWithParallelQuorum(const MergeTreePartInfo & part_info) const
{
    auto zookeeper = getZooKeeper();
    return zookeeper->exists(fs::path(zookeeper_path) / "quorum" / "parallel" / part_info.getPartName());
}
bool StorageReplicatedMergeTree::partIsLastQuorumPart(const MergeTreePartInfo & part_info) const
{
    auto zookeeper = getZooKeeper();
    const String parts_with_quorum_path = fs::path(zookeeper_path) / "quorum" / "last_part";
    String parts_with_quorum_str = zookeeper->get(parts_with_quorum_path);
    if (parts_with_quorum_str.empty())
        return false;
    ReplicatedMergeTreeQuorumAddedParts parts_with_quorum(format_version);
    parts_with_quorum.fromString(parts_with_quorum_str);
    auto partition_it = parts_with_quorum.added_parts.find(part_info.partition_id);
    if (partition_it == parts_with_quorum.added_parts.end())
        return false;
    return partition_it->second == part_info.getPartName();
}
bool StorageReplicatedMergeTree::fetchPart(const String & part_name, const StorageMetadataPtr & metadata_snapshot,