code: private void compactEntry(long index, Segment segment, Segment compactSegment) {
      compactSegment.skip(1);
      LOGGER.trace("Compacted entry {} from segment {}", index, segment.descriptor().id());
    }
docs: Compacts an entry from the given segment.