Skip to content

Avoid self-cancellation during normal ReschedulingTask continuation - #62

Draft
raduking wants to merge 15 commits into
developfrom
fix/rescheduling-task-lifecycle
Draft

raduking wants to merge 15 commits into
developfrom
fix/rescheduling-task-lifecycle

Conversation

@raduking

@raduking raduking commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Restore the latest develop implementation and tests. The only production change captures the tracked future before the refresh and detaches that exact future on completion, before normal rescheduling. Existing replacement cancellation logic remains intact. Add one regression test and update the design note.

This change intentionally does not resolve overlapping executions across concurrent disable/enable or early future publication races; those require separate review. Maven tests have not been run.

@raduking raduking changed the title Fix ReschedulingTask lifecycle races without synchronization Avoid self-cancellation during normal ReschedulingTask continuation Dec 4, 2026
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