private CompactionLog getLatestCompactionLog() throws IOException {
    AtomicReference<CompactionLog> latestLogRef = new AtomicReference<>(null);
    CompactionLog.processCompactionLogs(tempDirStr, STORE_ID, STORE_KEY_FACTORY, state.time, state.config, cLog -> {
      latestLogRef.set(cLog);
      return false;
    });
    CompactionLog latestLog = latestLogRef.get();
    assertNotNull(latestLog);
    return latestLog;
  }
Checks some vitals of the store. If change is expected checks that the sum of end offsets of all the log segments
has changed and is lesser than what it was before. If no change was expected, checks that the sum, count of log
and index segments is the same as before.
@param changeExpected {@code true} if change in log segment end offset sum is expected. {@code false} otherwise.
@param originalLogSegmentSizeSum the sum of end offsets of all the log segments before compaction.
@param originalLogSegmentCount the number of log segments before compaction.
@param originalIndexSegmentCount the number of index segments before compaction.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreCompactorTest.java