]
Work on ISPN-5060 started by Dan Berindei.
------------------------------------------
PartitionHandling: remove unavailable mode
------------------------------------------
Key: ISPN-5060
URL:
https://issues.jboss.org/browse/ISPN-5060
Project: Infinispan
Issue Type: Enhancement
Components: Core
Affects Versions: 7.0.2.Final, 7.1.0.Alpha1
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 7.1.0.Final
The Unavailable mode name is misleading, because some keys are available, just like in
Degraded mode.
The only difference between Degraded and Unavailable is that with Degraded the cluster
might recover without manual intervention. The administrator still has to know a lot more
details in order to decide whether manual intervention is needed or not. So it would be
less confusing if gracefully shutting down {{numOwners}} nodes in quick succession would
leave the cache in Degraded mode instead of Unavailable.
Instead of removing the Unavailable mode completely, we could also change it to deny
access to all the keys and allow the administrator to use it. E.g. if we had an operation
to dump the cache into a shared store and another to load the cache from a shared store,
the administrator could force the cache into Unavailable mode while dumping/loading the
cache.