diff options
author | Stan Hu <stanhu@gmail.com> | 2017-03-31 16:59:46 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-02 05:37:04 -0700 |
commit | 8a71d40e60c799f969af0ed255e931b6c9907634 (patch) | |
tree | 2737ce98e11f3c8c612d5fa6266232757cc194c0 /changelogs | |
parent | 9fc17f6f4abdb04f3cf1b60b87bd67b894a19c39 (diff) | |
download | gitlab-ce-8a71d40e60c799f969af0ed255e931b6c9907634.tar.gz |
Fix race condition where a namespace would be deleted before a project was deleted
When deleting a user, the following sequence could happen:
1. Project `mygroup/myproject` is scheduled for deletion
2. The group `mygroup` is deleted
3. Sidekiq worker runs to delete `mygroup/myproject`, but the namespace and routes have
been destroyed.
Closes #30334
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-fix-destroy-user-race.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-destroy-user-race.yml b/changelogs/unreleased/sh-fix-destroy-user-race.yml new file mode 100644 index 00000000000..4d650b51ada --- /dev/null +++ b/changelogs/unreleased/sh-fix-destroy-user-race.yml @@ -0,0 +1,5 @@ +--- +title: Fix race condition where a namespace would be deleted before a project was + deleted +merge_request: +author: |