Skip to content

Fix deadlock PG backend for repack

Several threads try to modify the same rows when transforming retrieve jobs to archive jobs. The solution is to use FOR UPDATE SKIP LOCKED as in all other queries.