Skip to content

Commit f10e1d2

Browse files
authored
Allow to elect leader with OperationError state (#197)
1 parent 61da3c1 commit f10e1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/topology/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ func (r *CommonCartridgeTopology) IsCartridgeConfigured(ctx context.Context, pod
432432
local confapplier = require('cartridge.confapplier')
433433
local state = confapplier.get_state()
434434
435-
if state ~= 'RolesConfigured' then
435+
if state ~= 'RolesConfigured' and state ~= 'OperationError' then
436436
return { res = false, err=nil }
437437
end
438438

0 commit comments

Comments
 (0)