Skip to content

Conversation

@mbertrand
Copy link
Member

@mbertrand mbertrand commented Sep 25, 2024

What are the relevant tickets?

Closes https://github.com/mitodl/hq/issues/5615

Description (What does it do?)

  • Adds reject_on_worker_lost=True to finish_recreate_index task
  • Usesreturn instead of raise on replaced tasks

How can this be tested?

Run ./manage.py recreate_index --all locally, it should still work.
Otherwise, probably best tested on RC by starting a reindex there and then restarting the worker dynos.

@mbertrand mbertrand force-pushed the mb/task_retry_sysexit branch from fa3daaa to c51cb9a Compare September 25, 2024 19:29
@mbertrand mbertrand added the Needs Review An open Pull Request that is ready for review label Sep 25, 2024
@mbertrand mbertrand force-pushed the mb/task_retry_sysexit branch from c51cb9a to 54668c5 Compare September 25, 2024 19:56
@abeglova abeglova self-assigned this Sep 25, 2024
Copy link
Contributor

@abeglova abeglova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbertrand mbertrand merged commit f6295ed into main Sep 26, 2024
@odlbot odlbot mentioned this pull request Sep 26, 2024
1 task
mbertrand added a commit that referenced this pull request Oct 4, 2024
@mbertrand mbertrand deleted the mb/task_retry_sysexit branch October 23, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review An open Pull Request that is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants