[jboss-jira] [JBoss JIRA] Updated: (JBAS-4390) Prevent response completion until replication returns

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 20 15:09:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated JBAS-4390:
-----------------------------------

    Fix Version/s: Backlog


> Prevent response completion until replication returns
> -----------------------------------------------------
>
>                 Key: JBAS-4390
>                 URL: https://jira.jboss.org/jira/browse/JBAS-4390
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering, Web (Tomcat) service
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: Backlog
>
>
> Even with synchronous replication, the client can read and receive the response before replication completes. This means they can send another request that potentially fails over and sees inconsistent session state.
> Need to investigate how to cleanly prevent the sending of the response (or at least the final flush of the response body) until the replication completes.  Preventing sending of response headers is probably too much to try to do; perhaps just preventing the close of the response output stream.
> By "replication completes" I mean:
> w/ instant mode and REPL_SYNC -- the full synchronous replication with acknowledgement of receipt by the foreign nodes
> w/ instant mode and REPL_ASYNC -- until JGroups has pushed the replication message onto the wire
> w/ interval mode -- basically instantaneous. i.e. as soon as the session is marked for replication.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list