Skip to content

Commit

Permalink
Merge pull request ClickHouse#55587 from azat/fix-replica-group
Browse files Browse the repository at this point in the history
Fix replica groups for Replicated database engine
  • Loading branch information
tavplubix authored Oct 13, 2023
2 parents e64abfc + db1b940 commit ebfad5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Databases/DatabaseReplicated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ std::vector<UInt8> DatabaseReplicated::tryGetAreReplicasActive(const ClusterPtr
{
for (const auto & replica : addresses_with_failover[shard_index])
{
String full_name = getFullReplicaName(replica.database_shard_name, replica.database_replica_name, replica.database_replica_name);
String full_name = getFullReplicaName(replica.database_shard_name, replica.database_replica_name, replica.database_replica_group_name);
paths.emplace_back(fs::path(zookeeper_path) / "replicas" / full_name / "active");
}
}
Expand Down

0 comments on commit ebfad5c

Please sign in to comment.