Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin committed Sep 20, 2024
1 parent 7ccc6aa commit ad0ac60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4476,7 +4476,8 @@ void clusterFailoverReplaceYourPrimary(void) {

if (clusterNodeIsPrimary(myself) || old_primary == NULL) return;

serverLog(LL_NOTICE, "Setting myself to primary in shard %.40s after failover; my old primary is %.40s (%s)", myself->shard_id, old_primary->name, old_primary->human_nodename);
serverLog(LL_NOTICE, "Setting myself to primary in shard %.40s after failover; my old primary is %.40s (%s)",
myself->shard_id, old_primary->name, old_primary->human_nodename);

/* 1) Turn this node into a primary. */
clusterSetNodeAsPrimary(myself);
Expand Down

0 comments on commit ad0ac60

Please sign in to comment.