Skip to content

MODCLUSTER-876 Drain pending proxies discovery in init() and reset established on shutdown - #997

Draft
rhusar wants to merge 1 commit into
modcluster:mainfrom
rhusar:MODCLUSTER-876
Draft

MODCLUSTER-876 Drain pending proxies discovery in init() and reset established on shutdown#997
rhusar wants to merge 1 commit into
modcluster:mainfrom
rhusar:MODCLUSTER-876

Conversation

@rhusar

@rhusar rhusar commented Sep 3, 2026

Copy link
Copy Markdown
Member

The processPendingDiscoveryEvents() was inadvertently moved out of the private status(boolean) in MODCLUSTER-103, so init()'s status(false) iterates an empty proxy list and never establishes a connection. Restore the drain call before status(false) so statically configured proxies are contacted eagerly during init.

Also reset both established flags on shutdown so isEstablished() does not report a stale value after stop.

This would fix registration with the proxies in init.

…tablished on shutdown

processPendingDiscoveryEvents() was inadvertently moved out of the private status(boolean) in MODCLUSTER-103, so init()'s status(false) iterates an empty proxy list and never establishes a connection.
Restore the drain call before status(false) so statically configured proxies are contacted eagerly during init.

Also reset both established flags on shutdown so isEstablished() does not report a stale value after stop.

Signed-off-by: Radoslav Husar <rhusar@ibm.com>
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