[infinispan-dev] Cluster scaling
Thomas Fromm
tf at tfromm.com
Tue Oct 23 08:27:18 EDT 2012
On 23.10.2012 00:55, Matej Lazar wrote:
> Hi,
>
> to simplify a scenario lets say that I have a distributed cache with no copies on a cluster of two nodes.
>
> Is stop operation blocked and waiting for cache data to be transferred to the other node, when one node is stopped (normal stop, not a failure)?
>
> My use case is using Infinispan in JBoss AS (CapeDwarf).
> How is node stopping behaving in Infinispan standalone and how in AS ?
>
In standalone the data from the node which shuts down is not loaded to
other nodes.
IMHO this behaviour is correct one, otherwise depending on amount of
data the shutdown could take some time. Useful could be an feature
request that "lost" entries are loaded from store, if store exists.
(This feature I miss too ;-)
Attached simple example as test case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ShutdownRehashTest.java
Type: text/x-java
Size: 1451 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20121023/c94ec0ff/attachment.bin
More information about the infinispan-dev
mailing list