Skip to content
Snippets Groups Projects

codeintel: Fix error on worker reprocessing

Merged Administrator requested to merge ef/worker-retry-error into main

Created by: efritz

Ignore unique constraint violations from writeData. This error occurring means that we've half-processed a record (we write to two different datastores, so it's possible to have lsif data but no completed metadata), but when we try to reprocess it we hit a duplicate data error from the lsifstore (which is the only part that previously succeeded).

Currently these records should only go into the errored state, which is why we haven't seen it before. We may introduce different error retry/resetting schemes, in which case this condition needs to not be a fatal error (otherwise all retries are destined to fail unconditionally).

Merge request reports

Approval is optional

Merged by avatar (Jul 7, 2025 2:40am UTC)

Merge details

  • Changes merged into main with 82b56525.
  • Deleted the source branch.

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