[
https://issues.jboss.org/browse/ISPN-1239?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-1239:
------------------------------------
I think I should add a disableRehashing() method to the DistributionManager interface that
can be called before shutdown.
In our test suite we can call it directly, in a real-life scenario the node where shutdown
was initiated could use the DistributedExecutorService to call it on every node in the
cluster.
Graceful shutdown should be supported
-------------------------------------
Key: ISPN-1239
URL:
https://issues.jboss.org/browse/ISPN-1239
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Cache
Affects Versions: 5.0.0.FINAL
Reporter: Manik Surtani
Assignee: Dan Berindei
Priority: Critical
Labels: clean_shutdown, rehashing
Fix For: 5.1.0.BETA1, 5.1.0.Final
Currently, killing any node will result in a rehash. A mechanism for clean shutdown
should also be supported, so that a rehash is *not* triggered. Useful when the entire
cluster is being intentionally brought down.
Need to think about how we do this; perhaps a LEAVE message that will prevent nodes
triggering a rehash when a subsequent view change is detected. This could be done
programmatically via a {{clean}} parameter to {{stop()}}, but we should explore
alternatives here.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira