mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 03:19:48 +00:00
Fix usage of check_quorum()
It is not a boolean, it is exception driven.
This commit is contained in:
parent
4329c1d388
commit
78a1741e0e
@ -536,7 +536,8 @@ def start_collective():
|
||||
follower.kill()
|
||||
follower = None
|
||||
try:
|
||||
if cfm.cfgstreams and cfm.check_quorum():
|
||||
if cfm.cfgstreams:
|
||||
cfm.check_quorum()
|
||||
# Do not start if we have quorum and are leader
|
||||
return
|
||||
except exc.DegradedCollective:
|
||||
|
Loading…
Reference in New Issue
Block a user