code: private void mergeReleased(List<Segment> segments, List<OffsetPredicate> predicates, Segment compactSegment) {
      for (int i = 0; i < segments.size(); i++) {
        mergeReleasedEntries(segments.get(i), predicates.get(i), compactSegment);
      }
    }
docs: Updates the new compact segment with entries that were released during compaction.