Merge "Increment resource atomic key when storing attributes"

This commit is contained in:
Zuul 2018-05-12 04:34:34 +00:00 committed by Gerrit Code Review
commit 7e15bc21d3
1 changed files with 1 additions and 0 deletions

View File

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