[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-408) Requests are not properly drained during undeploy

Aaron Ogburn (JIRA) issues at jboss.org
Mon May 19 17:24:56 EDT 2014


    [ https://issues.jboss.org/browse/MODCLUSTER-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968915#comment-12968915 ] 

Aaron Ogburn commented on MODCLUSTER-408:
-----------------------------------------

PR linked with a fix to the MCMP STOP-APP response issue.

But I also note the undeploy as a whole is still progressing during the request draining.  Should we expect mod_cluster to delay the undeploy until requests are drained or the stop-context-timeout passes?

> Requests are not properly drained during undeploy
> -------------------------------------------------
>
>                 Key: MODCLUSTER-408
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-408
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.2.8.Final
>            Reporter: Aaron Ogburn
>            Assignee: Jean-Frederic Clere
>
> mod_cluster doesn't properly drain requests during undeploy and/or shutdown before it sends REMOVE-APP.  org.jboss.modcluster TRACE logging shows JBoss receives a STOP-APP response indicating 0 requests and so the JBoss side thinks requests are drained.
> It looks like mod_cluster only sets "BALANCER_CONTEXT_ID" when a worker is selected by "internal_find_best_byrequests".  So it doesn't count stickied requests and allows shutdown to proceed even if stickied requests are in progress.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the mod_cluster-issues mailing list