Skip to content

Commit

Permalink
Minor log text tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
gooding470 committed Jan 16, 2025
1 parent 5f86a78 commit 5eeff97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions as/src/fabric/partition_balance.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ balance_namespace_ap(as_namespace* ns, cf_queue* mq)
uint32_t n_racks = rack_count(ns);

if (ns->active_rack != 0 && n_racks > ns->replication_factor) {
cf_warning(AS_PARTITION, "{%s} active-rack disallowed - replication-factor %u > n-racks %u",
ns->name, ns->replication_factor, n_racks);
cf_warning(AS_PARTITION, "{%s} active-rack disallowed - n-racks %u > replication-factor %u",
ns->name, n_racks, ns->replication_factor);
ns->active_rack = 0;
}

Expand Down

0 comments on commit 5eeff97

Please sign in to comment.