-
1. Re: Infinispan 5.3.0.Final default replication cluster configuration problem.
alex_ro_bv Nov 17, 2013 5:30 AM (in response to alex_ro_bv)Found the problem, it looks like the replication is managed only after the second server started on.
If I start server A, put something in the cache, start server B, in B is not available.
If I start server A and server B, put something in server A, it is present in server B.
Unfortunately, I would need also the first scenario to work. Will keep searching.
-
2. Re: Re: Infinispan 5.3.0.Final default replication cluster configuration problem.
pruivo Dec 6, 2013 9:42 AM (in response to alex_ro_bv)Alex Ardelean wrote:
Found the problem, it looks like the replication is managed only after the second server started on.
If I start server A, put something in the cache, start server B, in B is not available.
If I start server A and server B, put something in server A, it is present in server B.
Unfortunately, I would need also the first scenario to work. Will keep searching.
By your description, it looks like the state transfer is not enabled (however, it should be enabled by default). Enable it in the configuration:
clustering().stateTransfer().fetchInMemoryState(true)
and give it a try.
cheers,
Pedro