int getValueSize() {
    rwLock.readLock().lock();
    int sz = sealed.get() ? sealedIndex.getPersistedValueSize() : valueSize;
    rwLock.readLock().unlock();
    return sz;
  }
@return The value size in this segment
ambry-store/src/main/java/com/github/ambry/store/IndexSegment.java