Skip to content

Commit

Permalink
Fix replica groups for Replicated database engine
Browse files Browse the repository at this point in the history
Should fix 02447_drop_database_replica test

Signed-off-by: Azat Khuzhin <[email protected]>
  • Loading branch information
azat committed Oct 13, 2023
1 parent 8a1363b commit db1b940
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 db1b940

Please sign in to comment.