[ 
https://issues.apache.org/jira/browse/JCR-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544795
 ] 

Przemo Pakulski commented on JCR-1197:
--------------------------------------

There is definitely problem with modCount attribute of ItemState. During each 
save this attribute is incremented by SharedItemStateManager, but sometimes 
after restore ItemState holded by Items in ItemManager cache still has 
different (old) valueo modCount.

Then during next save operation exception is thrown.

> ItemManager cache is getting out of sync
> ----------------------------------------
>
>                 Key: JCR-1197
>                 URL: https://issues.apache.org/jira/browse/JCR-1197
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.3.3, 1.4
>            Reporter: Przemo Pakulski
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: CheckoutFailure.java
>
>
> It seems that ItemManager cache is not maintained correctly. I'm getting 
> InvalidItemStateException: 'propertyId' has been modified externally tryin 
> restore/checkout versionable nodes in single thread.
> ItemState should be evicted from ItemStateManager cache when modified, it 
> seems that status of ItemState is changed to MODIFIED, but itemState remains 
> in the cache.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to