summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-01-16 16:34:13 -0500
committerYorick Peterse <yorickpeterse@gmail.com>2017-01-16 16:37:48 -0500
commit6f88984b0d935b5c39b063969c14204cf0a62362 (patch)
tree29d3ca6f3aeed57d366e473fee2f2b75ec30be7f /changelogs
parent142be72a2aa6920fa60cc267737f2e702fdeae12 (diff)
downloadgitlab-ce-6f88984b0d935b5c39b063969c14204cf0a62362.tar.gz
Synchronize all project authorization refreshingrefresh-authorizations-tighter-lease
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: