[
https://issues.jboss.org/browse/ISPN-1000?page=com.atlassian.jira.plugin....
]
Dan Berindei updated ISPN-1000:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/405
I updated the rebalance algorithm to block transactions in the entire cluster untill all
nodes have finished pushing state. The apply state commands will bypass the block since
they use the SKIP_LOCKING flag.
In an earlier commit for ISPN-1106 I was catching InterruptedException and wrapping it in
an IllegalStateException, now I moved the wait to the RehashControlCommand-related methods
only and they don't catch the InterruptedException.
PUSH based rehashing
--------------------
Key: ISPN-1000
URL:
https://issues.jboss.org/browse/ISPN-1000
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Cache
Affects Versions: 4.2.0.Final
Reporter: Manik Surtani
Assignee: Dan Berindei
Labels: rehash
Fix For: 5.0.0.FINAL
Current rehash schemes are based on a PULL of state. Joiners (and new owners after a
leave) pull state from their neighbours. This JIRA is to reimplement this as a PUSH based
scheme, where all nodes detect new joiners (or leavers) and analyse their internal state
and determine what needs to be pushed where.
The scheme should be more robust, involving far fewer RPCs and coordination, and would
work better for merge views detected when partitions heal.
Based on Bela's prototype on
https://github.com/belaban/infinispan/tree/rebalance-changes
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira