public ITimeIndex getTimeIndex() {
    return timeIndex;
  }
Used for compaction to verify tsfile, also used to verify TimeIndex version when loading tsfile
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java