-
1. Re: Big HashMap stored to cache - problems with replication
mircea.markus Sep 4, 2008 10:44 AM (in response to milchkaffee)the replication is being made asynchronously, phps you are reading too soon from the secondary cache, and the replication didn't have time to finish. Do you have a replication queue enabled - this may also delay things a bit? I suggest switching to sync_replication just to check how long it takes to replicate data.
-
2. Re: Big HashMap stored to cache - problems with replication
milchkaffee Sep 8, 2008 7:04 AM (in response to milchkaffee)Thanks for your reply. The asynchronously replication doesn't seem to be the problem. Even after changing to REPL_SYNC the replication doesn't happen.
configuration part:
...
false
true
15000
15000
10000
true
true
...
I use the methods registerClassLoder and activateRegion to activate the replication. I'm not sure if the configuration is the problem. In other cases of smaller cache nodes the replication works fine. But in the other cases I cache smaller object and not big Maps. -
3. Re: Big HashMap stored to cache - problems with replication
milchkaffee Sep 8, 2008 7:06 AM (in response to milchkaffee)Thanks for your reply. The asynchronously replication doesn't seem to be the problem. Even after changing to REPL_SYNC the replication doesn't happen.
configuration part:
...<attribute name="UseReplQueue">false</attribute> <attribute name="FetchInMemoryState">true</attribute> <attribute name="InitialStateRetrievalTimeout">15000</attribute> <attribute name="SyncReplTimeout">15000</attribute> <attribute name="LockAcquisitionTimeout">10000</attribute> <attribute name="EvictionPolicyClass"></attribute> <attribute name="UseRegionBasedMarshalling">true</attribute> <attribute name="InactiveOnStartup">true</attribute>
...
I use the methods registerClassLoder and activateRegion to activate the replication. I'm not sure if the configuration is the problem. In other cases of smaller cache nodes the replication works fine. But in the other cases I cache smaller object and not big Maps. -
4. Re: Big HashMap stored to cache - problems with replication
milchkaffee Sep 9, 2008 10:27 AM (in response to milchkaffee)The problem is solved. I've got problems with my own coding. Sorry.