[jboss-jira] [JBoss JIRA] Created: (JGRP-922) FLUSH: let application handle concurrent flushing

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Wed Mar 4 12:07:22 EST 2009


FLUSH: let application handle concurrent flushing
-------------------------------------------------

                 Key: JGRP-922
                 URL: https://jira.jboss.org/jira/browse/JGRP-922
             Project: JGroups
          Issue Type: Task
    Affects Versions: 2.7, 2.6, 2.5
            Reporter: Vladimir Blagojevic
            Assignee: Vladimir Blagojevic
             Fix For: 2.6.9, 2.8


We decided to allow application handle flush retires rather than handle it within flush itself. The new algorithm is:

 - Send a START-FLUSH to all members in the target set
 - Every member sets the flushInProgress flag to true
   - If this succeeds, the member sends back an OK
   - Else a FAIL is sent back
 - If we received OKs from all members, startFlush() succeeded and returns true
 - If 1 FAIL is received:
   - Send an ABORT-FLUSH to all members which took part in the flush, causes flushInProgress to be set to false
   - startFlush() failed and returns false 

-- 
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