with session.begin(subtransactions=True):
# Set existing metadata to deleted if delete argument is True. This is
- # commited immediately to the DB
+ # committed immediately to the DB
if delete:
expected_values = {'volume_id': volume_id}
# We don't want to delete keys we are going to update
# T0 | T1 |
# base | snapshot_file | None
# (guaranteed to| (being deleted, |
- # exist) | commited down) |
+ # exist) | committed down) |
self._img_commit(snapshot_path)
# Active file has changed
# T0 | T1 | T2 | T3
# base | snapshot_file | higher_file | highest_file
# (guaranteed to | (being deleted, | (guaranteed to | (may exist)
- # exist, not | commited down) | exist, needs |
+ # exist, not | committed down) | exist, needs |
# used here) | | ptr update) |
backing_chain = self._get_backing_chain_for_path(
return
if optional_args['is_quota_committed']:
- # If quota got commited we shouldn't rollback as the volume has
+ # If quota got committed we shouldn't rollback as the volume has
# already been created and the quota has already been absorbed.
return