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

Add generation info to compaction map

    XMLWordPrintableJSON

Details

    Description

      I'd like to add a counter that exposes the current generation of the compaction map, (meaning the number of compaction cycles).
      So far I've been using the CompactionMap#getDepth as a heuristic but if you run long enough some old generations will be dropped decreasing the depth, making it unreliable as a generation counter.
      I don't want to persist this info, just start at 0 once the system starts up and increase on each CompactionMap#cons call.

      Attachments

        1. OAK-3479.patch
          2 kB
          Alex Deparvu

        Activity

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: