mod_cluster icon indicating copy to clipboard operation
mod_cluster copied to clipboard

MODCLUSTER-754 Modify ResetRequestSourceImpl to send STOP request when proxy not aware of a context

Open TomasHofman opened this issue 3 years ago • 2 comments

https://issues.redhat.com/browse/MODCLUSTER-754 https://issues.redhat.com/browse/WFLY-16416

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 avatar Jun 03 '22 12:06 TomasHofman

Can one of the admins verify this patch? If it is not dangerous to our systems, juts tell me to "run_tests". ( without the underscore and quotes :smiley: )

KarmBot avatar Jun 03 '22 12:06 KarmBot

Are there any further objections to this PR?

TomasHofman avatar Oct 04 '22 07:10 TomasHofman

Merged, thanks @TomasHofman !

rhusar avatar Jul 21 '23 09:07 rhusar

Thanks @rhusar ! I created backport for EAP 7.4.

TomasHofman avatar Jul 24 '23 08:07 TomasHofman