jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Strasser (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-136) Cached Item could be lost in cache
Date Fri, 17 Jun 2005 06:40:45 GMT
Cached Item could be lost in cache
----------------------------------

         Key: JCR-136
         URL: http://issues.apache.org/jira/browse/JCR-136
     Project: Jackrabbit
        Type: Bug
 Environment: jackrabbit 
    Reporter: Tobias Strasser
    Priority: Minor


since items and itemstate are cache in week/soft reference maps, they can disappear from the
caches after a GC cycle, and code like this:

if (isCached(id)) {
  return retrieveItem(id);
}

has potential to fail. log entries like:

failed to build path of c2eeecbe-6126-45a2-a38a-002361095107: 3334d748-2790-4004-8bfa-09463624c7c4
has no child entry for 4897c961-f36f-4d46-87bd-f24f152138a4

are the result.

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


Mime
View raw message