Offset getCurrentEndOffset() {
    return getCurrentEndOffset(validIndexSegments);
  }
Returns the current end offset that the index represents in the log
@return The end offset in the log that this index currently represents
ambry-store/src/main/java/com/github/ambry/store/PersistentIndex.java