static void updateValidDataSize(NavigableMap<LogSegmentName, Long> validDataSizePerLogSegment,
      List<LogSegmentName> logSegmentsToUpdate, long newValidDataSize) {
    for (LogSegmentName logSegmentName : logSegmentsToUpdate) {
      validDataSizePerLogSegment.put(logSegmentName, newValidDataSize);
    }
  }
Update validDataSize for some log segments
@param validDataSizePerLogSegment {@link NavigableMap<String,Long>} containing the valid data size
@param logSegmentsToUpdate log segments to be updated
@param newValidDataSize new valid data size that needs to be updated
ambry-store/src/test/java/com/github/ambry/store/CompactionPolicyTest.java