diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-12 12:29:47 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-15 08:10:10 -0700 |
commit | 16259796539f19f7b04ad078a28aa38c5b50912f (patch) | |
tree | d3596f714417223feb8b788a8f037ce2406e4531 /changelogs/unreleased | |
parent | 0a99e0220d9371423039f05f700af3675b26624f (diff) | |
download | gitlab-ce-16259796539f19f7b04ad078a28aa38c5b50912f.tar.gz |
Properly expire all pipeline caches when pipeline is deletedsh-fix-pipeline-delete-caching
When deleting a pipeline, only some of the cache structures were being
expired, but not the full pipeline list. We have to synchronously
schedule a pipeline cache expiration because the pipeline will be
deleted if the Sidekiq expiration job picks it up. To do this, properly
extract all the logic buried in the Sidekiq worker into a service, and
then call the service.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60469
Diffstat (limited to 'changelogs/unreleased')
-rw-r--r-- | changelogs/unreleased/sh-fix-pipeline-delete-caching.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-pipeline-delete-caching.yml b/changelogs/unreleased/sh-fix-pipeline-delete-caching.yml new file mode 100644 index 00000000000..98846ea9825 --- /dev/null +++ b/changelogs/unreleased/sh-fix-pipeline-delete-caching.yml @@ -0,0 +1,5 @@ +--- +title: Properly expire all pipeline caches when pipeline is deleted +merge_request: 27334 +author: +type: fixed |