summaryrefslogtreecommitdiff
path: root/lib/api/snippets.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-02-08 08:51:29 +0100
committerBob Van Landuyt <bob@vanlanduyt.co>2018-02-08 09:44:58 +0100
commit7e00adcc71877677637a8ebe0680f1d38176e7c8 (patch)
tree003009d4b2d7769b194b424d7a69b8352d11d1d1 /lib/api/snippets.rb
parent7e424eb852716495073881710e8a8851b4a4cd5a (diff)
downloadgitlab-ce-7e00adcc71877677637a8ebe0680f1d38176e7c8.tar.gz
Early migrations populating fork-networks: no-op
Since populating the fork networks was scheduled multiple times because of bugs that needed to be fixed: - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15595/ Creating fork networks for projects that were missing the root of the fork network. - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15709 The API allowed creating forked_project_links without fork_network_members. Scheduling this migration multiple times would case it to run concurrently. Which in turn would try to insert the same data into `fork_network_members` causing duplicate key errors. This avoids running the migration multiple times.
Diffstat (limited to 'lib/api/snippets.rb')
0 files changed, 0 insertions, 0 deletions