commit | 5103bc3ff0d02f05fb185b5b0417deb19314483b | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Wed Nov 29 19:07:59 2017 -0500 |
committer | Sapan Bhatia <sapan@opennetworking.org> | Thu Nov 30 17:58:00 2017 +0000 |
tree | 147462f0c89c0dd7bd7abb5b22938534e563c392 | |
parent | 1aa198b53e560f9299bf965aa476276442d379dc [diff] |
Prevent multiple objects from sharing the same sync step Change-Id: I82d546df942aa1e2c320c9d91d10506381990a1f
diff --git a/xos/synchronizers/new_base/event_loop.py b/xos/synchronizers/new_base/event_loop.py index 4cd7f1f..1bf435c 100644 --- a/xos/synchronizers/new_base/event_loop.py +++ b/xos/synchronizers/new_base/event_loop.py
@@ -457,6 +457,8 @@ if not hasattr(step, 'call'): pending = step.fetch_pending(deletion) for obj in pending: + step = step_class(driver=self.driver) + step.log = self.log.bind(step=step) obj.synchronizer_step = step pending_service_dependencies = self.compute_service_instance_dependencies(