code: private long getCompactionStartOffset(SegmentProperties info) {
          return Math.max(this.indexReader.getCompactionOffset(info), info.getStartOffset());
      }
docs: Calculates the Segment Offset where to start the compaction at. This is the maximum of the Segment's
  {@link TableAttributes#COMPACTION_OFFSET} attribute and the Segment's StartOffset (where it is truncated).
  
  @param info A {@link SegmentProperties} representing the current state of the Segment.
  @return The Segment Offset where to begin compaction at.