summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-09-25 01:14:54 -0700
committerStan Hu <stanhu@gmail.com>2015-09-25 01:14:54 -0700
commitfbe5bf762d616c8bbe6e824bd0713e20f0751b74 (patch)
tree3b1d0be3bb115965b193b36eabf6ba52cb47b83b /doc/gitlab-basics
parent1fef314df26a05bb204263129b12925ccfca0a90 (diff)
downloadgitlab-ce-fbe5bf762d616c8bbe6e824bd0713e20f0751b74.tar.gz
Fix bug where projects would appear to be stuck in the forked import state
A race condition existed between when Rails committed the `import_status` to `started` and when the Sidekiq worker forked a project. If this fork was quick, it's possible that the worker would attempt to move into the `finished` state before the `started` state took effect. As mentioned in https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#cannot-find-modelname-with-id12345, we should delay the worker to ensure the DB has a chance to update. Closes #2736
Diffstat (limited to 'doc/gitlab-basics')
0 files changed, 0 insertions, 0 deletions