[jboss-jira] [JBoss JIRA] Created: (JGRP-491) Multiplexer should execute getState for all registered MuxChannel under one FLUSH phase

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Thu Apr 26 11:14:30 EDT 2007


Multiplexer should execute getState for all registered MuxChannel under one FLUSH phase
---------------------------------------------------------------------------------------

                 Key: JGRP-491
                 URL: http://jira.jboss.com/jira/browse/JGRP-491
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.4.1, 2.5
            Reporter: Vladimir Blagojevic
         Assigned To: Vladimir Blagojevic
             Fix For: 2.6


The idea behind MuxChannel state transfer listeners is to trigger all state transfers together and have all or none result for all registered MuxChannels. As currently implemented underlying plumbing with will trigger each transfer under *separate* FLUSH. In order to have it done under one flush we have to do manual flushing in Multiplexer (startFlush/stopFlush) for these transfers T and we should retrofit FLUSH protocol *not to* trigger flushing for each GET_STATE from T. We have two options:

a) add requireFlush field in StateTransferInfo - that is then passed down with GET_STATE
- this requires changing signature of JChannel.getState

b) retrofit FLUSH to detect special handling of GET_STATE
- at state requester A we record that we requested GET_STATE and if another GET_STATE arrives from A while channel is already flushed do not trigger another flush 

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

        



More information about the jboss-jira mailing list