This content has been marked as final.
Show 1 reply
-
1. Re: Lost in Infinispan
mgencur May 10, 2012 3:56 AM (in response to lva)When you set .hash().numOwners(1), it means that data will be stored only to 1 node. When using "distributed" mode, it makes sense to use at least 2 owners (depending on how many nodes you have and how manty copies of each entry you want - to ensure fault tolerance).
If you'd like to store entries to all nodes, use CacheMode.REPL_SYNC. Then you don't have to specify numOwners as all the nodes will be owners.