Skip to content

Conversation

@TomasHofman
Copy link
Contributor

…n proxy not aware of a context

When an app server connects to a proxy for the first time or after a
disruption, it sends an INFO request to the proxy. Proxy responds with a
list of contexts that are registered for given server, and their states.
The context states returned from the proxy are compared to the actual
states of contexts on the app server, and if necessary, the server
should send ENABLE / STOP requests to bring the proxy to an up-to-date
state.

The change in this commit makes the app server send a STOP request for a
context in case when the proxy response to an INFO request doesn't
contain given context. The purpose of this STOP request is to enforce
context registration on the proxy side.
@TomasHofman
Copy link
Contributor Author

@rhusar This is backport for #602.

@rhusar rhusar changed the title MODCLUSTER-754 Modify ResetRequestSourceImpl to send STOP request whe… [1.4] MODCLUSTER-754 Modify ResetRequestSourceImpl to send STOP request whe… Jul 25, 2023
@rhusar rhusar self-assigned this Jul 25, 2023
@rhusar rhusar merged commit 8d35c80 into modcluster:1.4.x Aug 2, 2023
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.

2 participants