Add additional logging to flush selector
Adds additional debug logging to the flush selector to determine how any why any given node is selected. Useful for troubleshooting strange choices.
This commit is contained in:
@ -641,7 +641,7 @@ class NodeInstance(object):
|
||||
else:
|
||||
current_node = zkhandler.readdata(self.zk_conn, '/domains/{}/node'.format(dom_uuid))
|
||||
|
||||
target_node = common.findTargetNode(self.zk_conn, self.config, dom_uuid)
|
||||
target_node = common.findTargetNode(self.zk_conn, self.config, self.logger, dom_uuid)
|
||||
if target_node == current_node:
|
||||
target_node = None
|
||||
|
||||
|
Reference in New Issue
Block a user