Browse Source

Merge "Increment resource atomic key when storing attributes"

changes/63/568063/1
Zuul 4 years ago committed by Gerrit Code Review
parent
commit
7e15bc21d3
  1. 1
      heat/engine/resource.py

1
heat/engine/resource.py

@ -2341,6 +2341,7 @@ class Resource(status.ResourceStatus):
self.context, self.id, self._atomic_key,
self.attributes.cached_attrs, self._attr_data_id)
if attr_data_id is not None:
self._incr_atomic_key(self._atomic_key)
self._attr_data_id = attr_data_id
except Exception as ex:
LOG.error('store_attributes rsrc %(name)s %(id)s DB error %(ex)s',

Loading…
Cancel
Save