[
https://issues.jboss.org/browse/ISPN-1239?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-1239:
------------------------------------
Actually I think I found an workaround (at least for the test suite): stop all the
individual caches before stopping the cache managers. Stopping the cache won't trigger
a view change, so no rehashing on the other nodes, and stopping the cache manager
afterwards won't do anything since the cache is already stopped on all nodes.
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