Move configuration keys to /config tree
This commit is contained in:
@ -323,7 +323,7 @@ class NodeInstance(object):
|
||||
Acquire primary coordinator status from a peer node
|
||||
"""
|
||||
# Lock the primary node until transition is complete
|
||||
primary_lock = zkhandler.exclusivelock(self.zk_conn, '/primary_node')
|
||||
primary_lock = zkhandler.exclusivelock(self.zk_conn, '/config/primary_node')
|
||||
primary_lock.acquire()
|
||||
|
||||
# Ensure our lock key is populated
|
||||
|
Reference in New Issue
Block a user