private int getNextBlockOnDiskSize(ByteBuff onDiskBlock, int onDiskSizeWithHeader) {
      return onDiskBlock.getIntAfterPosition(onDiskSizeWithHeader + BlockType.MAGIC_LENGTH)
        + hdrSize;
    }
Clear the cached value when its integrity is suspect.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java