mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #53829 from ClickHouse/fix-cluster-tryGetAreReplicasActive
Fix typo in cluster name.
This commit is contained in:
commit
86d7e7cc73
@ -263,7 +263,7 @@ ClusterPtr DatabaseReplicated::getClusterImpl() const
|
||||
std::vector<UInt8> DatabaseReplicated::tryGetAreReplicasActive(const ClusterPtr & cluster_) const
|
||||
{
|
||||
Strings paths;
|
||||
const auto & addresses_with_failover = cluster->getShardsAddresses();
|
||||
const auto & addresses_with_failover = cluster_->getShardsAddresses();
|
||||
const auto & shards_info = cluster_->getShardsInfo();
|
||||
for (size_t shard_index = 0; shard_index < shards_info.size(); ++shard_index)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user