diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-13 22:02:04 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-19 05:03:18 -0700 |
commit | a1912ccc894386b112faba2932f1dd98c03aea0e (patch) | |
tree | 82eee97163f1802be69cd5810fe04bec96ae2689 /changelogs | |
parent | c6660e61b267dafe7e4f6ce2b4e38b644e7b2177 (diff) | |
download | gitlab-ce-a1912ccc894386b112faba2932f1dd98c03aea0e.tar.gz |
Delete container repository tags outside of transaction
When there are many tags in a container repository, deleting them
can exceed the default 60 second idle-in-transaction timeout in
Sidekiq. We now explicitly delete them in the DestroyService
before destroying the model.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51380
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-delete-tags-outside-transaction.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-delete-tags-outside-transaction.yml b/changelogs/unreleased/sh-delete-tags-outside-transaction.yml new file mode 100644 index 00000000000..974da70251e --- /dev/null +++ b/changelogs/unreleased/sh-delete-tags-outside-transaction.yml @@ -0,0 +1,5 @@ +--- +title: Delete container repository tags outside of transaction +merge_request: 21679 +author: +type: fixed |