Skip to content

Conversation

raphael
Copy link
Member

@raphael raphael commented Mar 5, 2025

Fixes a bug where job payloads weren't being properly cleaned up during node shutdown, causing subsequent DispatchJob calls to fail with ErrJobExists even though the jobs were no longer running.

Changes:

  • Add cleanup of job payloads when removing workers
  • Run periodic cleanup of orphaned job payloads
  • Fix potential race condition in tickers if created after the node is shutdown

raphael added 2 commits March 4, 2025 22:30
Fixes a bug where job payloads weren't being properly cleaned up during
node shutdown, causing subsequent DispatchJob calls to fail with
ErrJobExists even though the jobs were no longer running.

Changes:
- Add cleanup of job payloads when removing workers
- Run periodic cleanup of orphaned job payloads
- Fix potential race condition in tickers if created after the node is shutdown
@raphael raphael merged commit d79f24b into main Mar 5, 2025
4 checks passed
@raphael raphael deleted the fix/job_payload_leak branch March 5, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant