Skip to content

Commit

Permalink
Find another buggy place
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson committed Apr 9, 2024
1 parent 9cb9a49 commit 4da18b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cartridge/failover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ local function cfg(clusterwide_config, opts)
-- consistent switchover isn't necessary
vars.consistency_needed = false
synchro_demote()
elseif #topology.get_leaders_order(topology_cfg, replicaset_uuid, nil, {only_enabled = true}) == 1 then
elseif #topology.get_leaders_order(topology_cfg, replicaset_uuid, nil) == 1 then
-- Replicaset consists of a single server
-- consistent switchover isn't necessary
vars.consistency_needed = false
Expand Down

0 comments on commit 4da18b1

Please sign in to comment.