[infinispan-issues] [JBoss JIRA] (ISPN-2871) All nodes are not replicated when eviction is enabled

Adrian Nistor (JIRA) jira-events at lists.jboss.org
Thu Feb 28 05:05:56 EST 2013


    [ https://issues.jboss.org/browse/ISPN-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757440#comment-12757440 ] 

Adrian Nistor commented on ISPN-2871:
-------------------------------------

[~cbeer] Why do you say this is similar to ISPN-2712? I checked your sample and noticed that the evicted data was properly written to cache store. In fact all your 100 keys are written to cache store because you have configured passivation==false. You can check this for yourself by adding the following lines in Node0 to print the size of the cache store after printing the size of the cache:
{noformat}
try {
  log.info("Cache store size: " + cache.getAdvancedCache().getComponentRegistry()
                                       .getComponent(org.infinispan.loaders.CacheLoaderManager.class)
                                       .getCacheStore().loadAll().size());
} catch (Exception ex) { /*ignore*/ }
{noformat}

Cheers!
                
> All nodes are not replicated when eviction is enabled
> -----------------------------------------------------
>
>                 Key: ISPN-2871
>                 URL: https://issues.jboss.org/browse/ISPN-2871
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Eviction
>    Affects Versions: 5.2.1.Final
>            Reporter: Chris Beer
>            Assignee: Mircea Markus
>            Priority: Blocker
>             Fix For: 5.3.0.Final
>
>
> When I enable replication and eviction, it appear that not all nodes are replicated to all hosts. This problem was discovered when clustering modeshape with eviction, and critical nodes were not being properly replicated.
> I've modified the clustered-cache quick-start to (hopefully) demonstrate this problem: 
> https://github.com/cbeer/infinispan-quickstart/tree/replication-eviction-problem/clustered-cache
> Node1 creates 100 cache entries (key0 -> key99). When eviction is disabled, the final cache size on Node0 is 100. When eviction is enabled, the final cache size is 78.
> This seems suspiciously similar to ISPN-2712.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list