jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3596) Reduce level for 'overwriting cached item' log messages in ItemManager
Date Thu, 16 May 2013 09:17:15 GMT
Marcel Reutegger created JCR-3596:
-------------------------------------

             Summary: Reduce level for 'overwriting cached item' log messages in ItemManager
                 Key: JCR-3596
                 URL: https://issues.apache.org/jira/browse/JCR-3596
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
            Reporter: Marcel Reutegger
            Priority: Minor


There are warn messages about 'overwriting cached item' in the logs when an application shares
a JCR session for reads. So far, this usage is considered OK, while sharing a session for
writes is discouraged. Jackrabbit should not log warnings for usages we consider valid.

AFAICS repository consistency is not at risk here. There's no guarantee or requirement that
only one Item instance is around for a given ItemId. The important piece is the underlying
ItemState, which is managed by the SharedItemStateManager with a diffferent synchronization/locking
implementation.

--
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

Mime
View raw message