On 23 October 2012 13:27, Thomas Fromm <tf(a)tfromm.com> wrote:
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 ;-)
Hi Thomas, what do you mean by "lost" entries? I'm pretty sure that if
an entry can't be find in any node Infinispan will attempt to look it
up from a CacheLoader.
Attached simple example as test case.
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev