You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2013/05/16 11:17:15 UTC
[jira] [Created] (JCR-3596) Reduce level for 'overwriting cached
item' log messages in ItemManager
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