Offset getEndOffset() {
    LogSegment segment = activeSegment;
    return new Offset(segment.getName(), segment.getEndOffset());
  }
@return the end offset of the log abstraction.
ambry-store/src/main/java/com/github/ambry/store/Log.java