Skip to content

WIP: Ignore failures on duplicates insert

Kamil Trzciński requested to merge ignore-duplicates-on-bulk-insert into master

What does this MR do?

This should ignore problems as such when importing pull requests and sidekiq dies half-way as operations that we do are not transactional:

2019-03-17_04:47:26.94173 2019-03-17T04:47:26.941Z 129639 TID-oteygqvx3 WARN: {"context":"Job raised exception","job":{"class":"Gitlab::GithubImport::ImportPullRequestWorker","args":[12000,{"iid":19221,"title":"...","description":"...","source_branch":"...","target_branch":"develop"

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Merge request reports