Skip to content
Snippets Groups Projects

postgresql: improve db.origin_visit_status_add to fix possible replayer issues

Open David Douard requested to merge douardda/swh-storage:fix-replay-ovs into master

In case of an existing OriginVisitStatus entry (typically with the 'created' status), adding a new version of this entry should do an update instead of ignoring it. This could happen during a replayer session where the insertion of the OriginVisit used to automatically create an OriginVisitStatus in "created" status. This would then prevent the following replayer to actually insert the correct OriginVisitStatus.

Closes #4704 (closed)

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