From 2f0a9385e56a9f16355c343dfa0860750518c455 Mon Sep 17 00:00:00 2001 From: Jodi Jang <116035587+jangjodi@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:24:01 -0700 Subject: [PATCH] chore(similarity): Add re-queue for backfill task when worker is killed (#74771) Add reject_on_worker_lost flag to re-queue the message if the worker is killed --- .../backfill_seer_grouping_records_for_project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py b/src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py index 9a62146e02a309..6d5fe8bd170f13 100644 --- a/src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py +++ b/src/sentry/tasks/embeddings_grouping/backfill_seer_grouping_records_for_project.py @@ -43,6 +43,7 @@ soft_time_limit=60 * 15, time_limit=60 * 15 + 5, acks_late=True, + reject_on_worker_lost=True, ) def backfill_seer_grouping_records_for_project( current_project_id: int,