Skip to content

Self-Healing EventDispatcher#506

Open
sahvx655-wq wants to merge 1 commit into
apache:masterfrom
sahvx655-wq:event-dispatcher-self-healing
Open

Self-Healing EventDispatcher#506
sahvx655-wq wants to merge 1 commit into
apache:masterfrom
sahvx655-wq:event-dispatcher-self-healing

Conversation

@sahvx655-wq
Copy link
Copy Markdown

@sahvx655-wq sahvx655-wq commented May 27, 2026

This PR introduces a controlled self-healing mechanism for the FelixDispatchQueue thread in EventDispatcher to prevent permanent asynchronous event failure when the dispatcher thread crashes due to severe runtime errors (e.g., OutOfMemoryError, StackOverflowError).

Currently, if the dispatcher thread dies, the framework permanently stops processing asynchronous events. This change adds a safe recovery strategy while preserving the existing single-threaded design.

@sahvx655-wq
Copy link
Copy Markdown
Author

CI is failing due to AssertJ version range mismatch: required [3.27.3,3.27.4) but 3.27.7 is available in the resolver. Should the range be widened in tck.bndrun?

@stbischof stbischof requested review from cziegeler and tjwatson May 27, 2026 21:26
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