[jboss-jira] [JBoss JIRA] Commented: (JGRP-922) FLUSH: let application handle concurrent flushing
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Tue Mar 17 15:37:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JGRP-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457758#action_12457758 ]
Vladimir Blagojevic commented on JGRP-922:
------------------------------------------
Implemented on HEAD and ported to 2.6 branch. Waiting for feedback from Manik and results from NBST tests before changing status of this JIRA.
> 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.5, 2.6, 2.7
> 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