HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.43k stars 1.71k forks source link

Job supposed to be re-queued on worker shutdown but it never is #2378

Open alexrosenfeld10 opened 8 months ago

alexrosenfeld10 commented 8 months ago

Hi, sometimes my pods are rescheduled (for whatever reason, rolling restart / node upgrade / new deployment, etc.) and I get a message in my logs:

Worker stop requested while processing background job 'xxx'. It will be re-queued.

However, despite this message, the job is never re-queued.

I've done a bunch of reading here, specifically https://github.com/HangfireIO/Hangfire/issues/2026, but can't seem to find the right answer as to why it's never being re-queued.

I can share the database records for these jobs if it helps. Thanks in advance!