Misspelling in message
Misspelling in the message: "commited immediately to the DB" Should be "committed immediately to the DB" Totally 4 occasions in Cinder base code Change-Id: I3ae84e7680fe4da721047cd9a0e2d94ec426795f
This commit is contained in:
parent
94d4b15943
commit
d7e8076a80
|
@ -1877,7 +1877,7 @@ def _volume_x_metadata_update(context, volume_id, metadata, delete, model,
|
|||
|
||||
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
|
||||
|
|
|
@ -1024,7 +1024,7 @@ class RemoteFSSnapDriver(RemoteFSDriver, driver.SnapshotVD):
|
|||
# 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
|
||||
|
@ -1033,7 +1033,7 @@ class RemoteFSSnapDriver(RemoteFSDriver, driver.SnapshotVD):
|
|||
# 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(
|
||||
|
|
|
@ -502,7 +502,7 @@ class EntryCreateTask(flow_utils.CinderTask):
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue