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

Concurrent commit during compaction results in mixed segments

    XMLWordPrintableJSON

Details

    Description

      Changes that are committed during a segment store compaction run will be compacted on top of the already compacted changes. However the compactor uses the wrong before state in this case. Instead of compacting against the compacted before state it uses the un-compacted before state. The resulting state will thus contain references to un-compacted state, making those not eligible for later clean up.

      Attachments

        1. OAK-2192.patch
          0.8 kB
          Michael Dürig
        2. OAK-2192-2.patch
          1 kB
          Michael Dürig
        3. OAK-2192-poc-fix.patch
          6 kB
          Michael Dürig
        4. OAK-2192-possible-test.patch
          4 kB
          Alex Deparvu
        5. OAK-2192-v10.patch
          89 kB
          Michael Dürig
        6. OAK-2192-v10-branch-1.0.patch
          92 kB
          Michael Dürig
        7. OAK-2192-v2.patch
          22 kB
          Alex Deparvu
        8. OAK-2192-v3.patch
          34 kB
          Alex Deparvu
        9. OAK-2192-v4.patch
          35 kB
          Alex Deparvu
        10. OAK-2192-v5.patch
          35 kB
          Alex Deparvu
        11. OAK-2192-v6.patch
          37 kB
          Michael Dürig
        12. OAK-2192-v7.patch
          54 kB
          Alex Deparvu
        13. OAK-2192-v8.patch
          66 kB
          Alex Deparvu
        14. OAK-2192-v8-branch-1.0.patch
          57 kB
          Alex Deparvu
        15. OAK-2192-v9.patch
          79 kB
          Alex Deparvu
        16. OAK-2192-v9-branch-1.0.patch
          69 kB
          Alex Deparvu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: