diff options
author | Dan Smith <dansmith@redhat.com> | 2020-08-31 07:35:47 -0700 |
---|---|---|
committer | Dan Smith <dansmith@redhat.com> | 2020-09-03 08:00:35 -0700 |
commit | 3880298ac932e273ab9921eb09b729bb75c8a02c (patch) | |
tree | ba00c0e1f98bad19b7ca82198092dfca47410b9b | |
parent | 5b681da16520bac664f37107b088ef38519b22bc (diff) | |
download | glance-3880298ac932e273ab9921eb09b729bb75c8a02c.tar.gz |
Add a release note about import locking
This adds a release note detailing the new locking behavior and criteria
for stealing the lock.
Related-Bug: #1884596
Change-Id: I19c713c91794694f990f1372fda61cc2e20fac54
(cherry picked from commit bb7774c99b263c4f54d0d126ff4ee769bb3da24c)
-rw-r--r-- | releasenotes/notes/import-locking-behavior-901c691f3839fe0a.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/releasenotes/notes/import-locking-behavior-901c691f3839fe0a.yaml b/releasenotes/notes/import-locking-behavior-901c691f3839fe0a.yaml new file mode 100644 index 000000000..de23b5d4d --- /dev/null +++ b/releasenotes/notes/import-locking-behavior-901c691f3839fe0a.yaml @@ -0,0 +1,14 @@ +--- +fixes: + - | + A change was added to the import API which provides time-based + locking of an image to exclude other import operations from + starting until the lock-holding task completes (see Bug + 1884596_). The lock is based on the task that we start to do the + work, and the UUID of that task is stored in the + ``os_glance_import_task`` image property, which indicates who owns + the lock. If the task holding the lock fails to make progress for + 60 minutes, another import operation will be allowed to steal the + lock and start another import operation. + + .. _1884596: https://bugs.launchpad.net/glance/+bug/1884596 |