Phase getCompactionPhase() {
    return currentIdx >= cycleLogs.size() ? Phase.DONE : getCurrentCycleLog().getPhase();
  }
@return the current phase of compaction.
ambry-store/src/main/java/com/github/ambry/store/CompactionLog.java