Skip to content

Add invoker-mode and async leader-change support to AeronCluster#147

Open
strangelydim wants to merge 1 commit intomasterfrom
ebowden/cluster-asyncconnect-invoker-and-async-leader-change
Open

Add invoker-mode and async leader-change support to AeronCluster#147
strangelydim wants to merge 1 commit intomasterfrom
ebowden/cluster-asyncconnect-invoker-and-async-leader-change

Conversation

@strangelydim
Copy link
Copy Markdown
Contributor

Adds Context.RunAgentInvokers and AddNewLeaderIngressPublication, wires invoker-mode into AsyncConnect.Poll, adds async-add publication handling to MemberIngress (AsyncAddPublication/AsyncGetPublication), and refactors AsyncConnect.UpdateMembers to reuse the prior leader publication when the new leader's endpoint is unchanged. UpdateMemberEndpoints now uses AddNewLeaderIngressPublication on the failover path (IngressEndpoints case).

Match Java's behavior so invoker mode does not deadlock during initial connect or leader change.

Adds Context.RunAgentInvokers and AddNewLeaderIngressPublication, wires
invoker-mode into AsyncConnect.Poll, adds async-add publication handling
to MemberIngress (AsyncAddPublication/AsyncGetPublication), and refactors
AsyncConnect.UpdateMembers to reuse the prior leader publication when the
new leader's endpoint is unchanged. UpdateMemberEndpoints now uses
AddNewLeaderIngressPublication on the failover path (IngressEndpoints
case).

Match Java's behavior so invoker mode does not deadlock during initial
connect or leader change.
@strangelydim strangelydim requested a review from JPWatson May 4, 2026 22:22
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