long getRemainingUnallocatedSegments() {
    return remainingUnallocatedSegments.get();
  }
This returns the number of unallocated segments for this log. However, this method can only be used when compaction
is not running.
@return the number of unallocated segments.
ambry-store/src/main/java/com/github/ambry/store/Log.java