Revert "Only perform fencing duties on primary"
This reverts commit 464c69aac6
.
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
|
# Close the Libvirt connection
|
||||||
lv_conn.close()
|
lv_conn.close()
|
||||||
|
|
||||||
# Look for dead nodes and fence them (primary only)
|
# Look for dead nodes and fence them
|
||||||
if this_node.router_state == 'primary'
|
|
||||||
if debug:
|
if debug:
|
||||||
print("Look for dead nodes and fence them")
|
print("Look for dead nodes and fence them")
|
||||||
if config['daemon_mode'] == 'coordinator':
|
if config['daemon_mode'] == 'coordinator':
|
||||||
|
|
Loading…
Reference in New Issue