[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1213) TreeCache expires parents that have children
Todd Ciezadlo (JIRA)
jira-events at lists.jboss.org
Mon Jul 18 09:55:23 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614792#comment-12614792 ]
Todd Ciezadlo commented on ISPN-1213:
-------------------------------------
After testing, the work-around noted above only works for simple cases. For example, it works with the attached ExpirationTest. But it causes problems for more complex cases and should be avoided for anything non-trivial.
I agree that eviction will need to be reinvented for TreeCache.
> TreeCache expires parents that have children
> --------------------------------------------
>
> Key: ISPN-1213
> URL: https://issues.jboss.org/browse/ISPN-1213
> Project: Infinispan
> Issue Type: Bug
> Components: Eviction
> Affects Versions: 4.2.1.FINAL
> Reporter: Todd Ciezadlo
> Assignee: Manik Surtani
> Fix For: 5.2.0.Final
>
> Attachments: ExpirationTest.java, TreeCacheUtil.java
>
>
> TreeCache parents expire according to the max-idle value even if they contain children. This puts the tree cache in an inconsistent state since the "dangling" children can be retrieved through TreeCache.get(FQN, String) calls, but cannot be traversed to through TreeCache.getRoot() and Node.getChildren() calls.
> Attached unit test to to reproduce.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list