]
Vladimir Blagojevic resolved JGRP-922.
--------------------------------------
Resolution: Done
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: