Skip to content
Snippets Groups Projects

postgresql: reduce concurrency insertion issues for directories

Merged David Douard requested to merge douardda/swh-storage:dunno into master

the idea is to prevent exceptions when 2 workers insert the same directory (actually the same directory entries) concurrently, which can happen quite a lot in replayer session.

This needs to be carefully inspected. Added tests look legit to me, but I need confirmation.

Edited by David Douard

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading