Merge "Avoid race condition at snapshot deletion stage"

This commit is contained in:
Jenkins
2015-07-07 04:31:44 +00:00
committed by Gerrit Code Review
9 changed files with 141 additions and 230 deletions

View File

@@ -2095,7 +2095,6 @@ def _snapshot_metadata_get_query(context, snapshot_id, session=None):
@require_context
@require_snapshot_exists
def _snapshot_metadata_get(context, snapshot_id, session=None):
rows = _snapshot_metadata_get_query(context, snapshot_id, session).all()
result = {}