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

Remove segment version argument from segment writer and and related classes

    XMLWordPrintableJSON

Details

    Description

      The SegmentWriter and its related classes accept a SegmentVersion argument. This is confusing since that version is only stored in the segment's segment version field. The writer cannot and does not actually write segments at older version than the latest (12).

      I suggest we remove the explicit segment version from all classes where it can be specified and hard code the segment version to 12 for now. This is the only segment version segment-tar currently supports anyway. Should the need to support other segment version arise in the future, we need to decide at that point how to parametrise segment-tar on the segment version.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: