From ec7b78b9b8670d5f3c5bb20f563afb4cfe960ee0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 20 Oct 2020 13:29:17 -0400 Subject: [PATCH] Add additional short sleep in receive --- node-daemon/pvcnoded/VMInstance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/node-daemon/pvcnoded/VMInstance.py b/node-daemon/pvcnoded/VMInstance.py index 7cc2a0be..496e6107 100644 --- a/node-daemon/pvcnoded/VMInstance.py +++ b/node-daemon/pvcnoded/VMInstance.py @@ -514,6 +514,7 @@ class VMInstance(object): self.logger.out('Acquired write lock for synchronization phase D', state='o', prefix='Domain {}'.format(self.domuuid)) time.sleep(0.2) # Time for reader to acquire the lock + time.sleep(0.1) self.state = zkhandler.readdata(self.zk_conn, '/domains/{}/state'.format(self.domuuid)) self.dom = self.lookupByUUID(self.domuuid) if self.dom: