From 4da18b1ef93c30adc4f31f2b3ba83f7530e9fbb1 Mon Sep 17 00:00:00 2001 From: Igor Zolotarev Date: Tue, 9 Apr 2024 15:40:22 +0300 Subject: [PATCH] Find another buggy place --- cartridge/failover.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartridge/failover.lua b/cartridge/failover.lua index 1cf4620b4..461409ba8 100644 --- a/cartridge/failover.lua +++ b/cartridge/failover.lua @@ -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