Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

fix(scan_server): error during return_to_start was not caught and caused the...

wakonig_k requested to merge fix/worker_shutdown into master

Description

An error during a scan's return_to_start method was not caught and caused the scan worker to shut down. This MR modifies the scan worker to catch unknown errors and raise a scan abortion.

Changes

  • Added try/except to the scan worker's cleanup section
  • The shutdown of a scan worker raises a ScanAbortion
  • Added checks to flomni's return to start to avoid getting an Index out of range error
  • Added logs to simplify the error tracing in the future.

Definition of Done

  • Documentation is up-to-date.
Edited by wakonig_k

Merge request reports