Skip to content

Check if the existences of archived traces before archive it

What does this MR do?

This MR checks if an archived trace exists before archive it.

Otherwise, Already archived error messages keeps hammering Sentry and job_trace_archive_failed_total metric in Prometheus.

Does this MR meet the acceptance criteria?

  • Changelog entry added, if necessary
  • Tests added for this feature/bug
  • Conform by the code review guidelines
    • Has been reviewed by a Backend maintainer
  • End-to-end tests pass (package-and-qa manual pipeline job)

What are the relevant issue numbers?

Close https://gitlab.com/gitlab-org/gitlab-ce/issues/48705

Edited by Kamil Trzciński (Back 2025-01-01)

Merge request reports

Loading