Skip to content

FELIX-6844: Implement self-healing recovery mechanism for FelixDispatchQueue thread in EventDispatcher#506

Open
sahvx655-wq wants to merge 2 commits into
apache:masterfrom
sahvx655-wq:event-dispatcher-self-healing
Open

FELIX-6844: Implement self-healing recovery mechanism for FelixDispatchQueue thread in EventDispatcher#506
sahvx655-wq wants to merge 2 commits into
apache:masterfrom
sahvx655-wq:event-dispatcher-self-healing

Conversation

@sahvx655-wq

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

Copy link
Copy Markdown

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
@sahvx655-wq sahvx655-wq force-pushed the event-dispatcher-self-healing branch from 5a3e07e to 6fdaae4 Compare June 17, 2026 11:23
@sahvx655-wq sahvx655-wq changed the title Self-Healing EventDispatcher FELIX-6844: Implement self-healing recovery mechanism for FelixDispatchQueue thread in EventDispatcher Jun 17, 2026
@sahvx655-wq sahvx655-wq force-pushed the event-dispatcher-self-healing branch from 6fdaae4 to fb331ac Compare June 17, 2026 14:45
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