Skip to content

codeintel: Enforce a max reset count on uploads and index records

Administrator requested to merge barf-up-poison-input into master

Created by: efritz

Closes https://github.com/sourcegraph/sourcegraph/issues/10755.

Ensure that each reset (due to a worker or indexer crash) is marked in the record that will be re-tried after the worker/indexer restarts (or another instance takes it). This is to stop scenarios where an index that is too large for the current worker's resources causes an OOM crash from being retried indefinitely at the head of the queue.

Merge request reports

Loading