Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2020

NodeState view at given version is not stable with DocumentNodeStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.5, 1.1.0
    • mongomk
    • None

    Description

      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

      1. Spurious Commits see - Some commit would fails with conflicts in paths which were not modified in that commit
      2. Diff logic would traverse those paths which are not related to changes done in that commit

      More details would be provided in comments below

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: