Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-01-17 00:34:13 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2017-01-17 00:37:48 +0300
commit6f88984b0d935b5c39b063969c14204cf0a62362 (patch)
tree29d3ca6f3aeed57d366e473fee2f2b75ec30be7f /changelogs
parent142be72a2aa6920fa60cc267737f2e702fdeae12 (diff)
Synchronize all project authorization refreshing
Previously a lease would only be obtained to update data. This could lead to duplicate data being inserted, triggering a UNIQUE constraint error. To work around this we now acquire a lease before performing _any_ project authorization work, releasing it at the very end. Fixes #25987
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/refresh-authorizations-tighter-lease.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/refresh-authorizations-tighter-lease.yml b/changelogs/unreleased/refresh-authorizations-tighter-lease.yml
new file mode 100644
index 00000000000..ab42b2eb72d
--- /dev/null
+++ b/changelogs/unreleased/refresh-authorizations-tighter-lease.yml
@@ -0,0 +1,4 @@
+---
+title: Synchronize all project authorization refreshing work to prevent race conditions
+merge_request:
+author: