Revert "Only perform fencing duties on primary"
This reverts commit 464c69aac67303a7eb16c0061ad8fa202b15a535. Actually, yea, this made sense - if the primary fails, it can't fence itself.
This commit is contained in:
parent
85a5a8a0c9
commit
75d0e7f989
@ -1120,8 +1120,7 @@ def update_zookeeper():
|
||||
# Close the Libvirt connection
|
||||
lv_conn.close()
|
||||
|
||||
# Look for dead nodes and fence them (primary only)
|
||||
if this_node.router_state == 'primary'
|
||||
# Look for dead nodes and fence them
|
||||
if debug:
|
||||
print("Look for dead nodes and fence them")
|
||||
if config['daemon_mode'] == 'coordinator':
|
||||
|
Loading…
x
Reference in New Issue
Block a user