More const

This commit is contained in:
alesapin 2021-04-08 13:38:40 +03:00
parent e17444757b
commit e762d02e37
2 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ void ReplicatedMergeTreeBlockOutputStream::waitForQuorum(
zkutil::ZooKeeperPtr & zookeeper,
const std::string & part_name,
const std::string & quorum_path,
const std::string & is_active_node_value)
const std::string & is_active_node_value) const
{
/// We are waiting for quorum to be satisfied.
LOG_TRACE(log, "Waiting for quorum");

View File

@ -67,7 +67,7 @@ private:
/// Also checks that replica still alive.
void waitForQuorum(
zkutil::ZooKeeperPtr & zookeeper, const std::string & part_name,
const std::string & quorum_path, const std::string & is_active_node_value);
const std::string & quorum_path, const std::string & is_active_node_value) const;
StorageReplicatedMergeTree & storage;
StorageMetadataPtr metadata_snapshot;