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

Add generation info to compaction map

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment