void reset() {
    if (nextFreeOffset.get() != UNINITIALIZED) {
      nextFreeOffset.set(UNINITIALIZED);
      allocCount.set(0);
    }
  }
Reset the offset to UNINITIALIZED before before reusing an old chunk
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Chunk.java