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

CompactionMap#get not transitive across compaction map generations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • segmentmk

    Description

      CompactionMap#get(RecordId before) searches through the compaction maps until it finds one containing before returning its value. However that one might already have been compacted again an be present as key in a later compaction map generation.

      A correct implementation of CompactionMap#get(RecordId before) should consider the transitive closure over all maps starting at before. Note however that in this case we would also need to stop removing keys from the compaction map after cleanup as this would break transitivity again. (See http://svn.apache.org/viewvc?view=revision&revision=1673791)

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: