[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1541) When modifying evicted node, parent nodes are marked as loaded

Krzysztof Sobolewski (JIRA) jira-events at lists.jboss.org
Tue Sep 8 11:03:23 EDT 2009


When modifying evicted node, parent nodes are marked as loaded
--------------------------------------------------------------

                 Key: JBCACHE-1541
                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1541
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 3.2.0.GA
            Reporter: Krzysztof Sobolewski
            Assignee: Manik Surtani
         Attachments: ParentDataLoadedTest.java

This one's rather simple and it's almost a direct transcription of the test case:

1) Node /a/a/a and all its parents get modified (so that data is non-empty);
2) Node /a is evicted recursively;
3) Node /a/a/a is modified;
4) Parent nodes get created with "dataLoaded" flag set to true and are subsequently not loaded when accessed, appearing empty.

I'm also attaching a proposed fix; as usual, I don't know what else might blow up because of it :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosscache-issues mailing list