Staging instance, all changes can be removed at any time

Skip to content
Snippets Groups Projects

postgresql: Avoid deadlocks by ordering rows before insertion

Open vlorentz requested to merge deadlock into master

It's a common issue when concurrently inserting batches which contain the same items in different order; reordering them consistently worked on both the indexer-storage and the provenance-storage, so it should work here too.

https://sentry.softwareheritage.org/share/issue/5294cd5d125d49c18fb1eac29c29fe56/

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading