[ https://issues.apache.org/jira/browse/OAK-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092529#comment-14092529 ]
Thomas Mueller commented on OAK-2020: ------------------------------------- > DocumentNodeStore should provide same NodeState for given (path, revision) > whenever a NodeState is obtained from it. Does it need to be the same object, or would it be enough if it's a different object, but the same hash code, and NodeState.equals(..) would return true? > NodeState view at given version is not stable with DocumentNodeStore > -------------------------------------------------------------------- > > Key: OAK-2020 > URL: https://issues.apache.org/jira/browse/OAK-2020 > Project: Jackrabbit Oak > Issue Type: Bug > Components: mongomk > Reporter: Chetan Mehrotra > Fix For: 1.1 > > > DocumentNodeStore should provide same NodeState for given (path, revision) > whenever a NodeState is obtained from it. This fails in some cases if the > Node cache in DocumentNodeStore gets overflown and then the NodeState > returned differs. This causes issues like > # Spurious Commits see - Some commit would fails with conflicts in paths > which were not modified in that commit > # Diff logic would traverse those paths which are not related to changes done > in that commit > More details would be provided in comments below -- This message was sent by Atlassian JIRA (v6.2#6252)