public Set<IDeviceID> getDevices() {
    return timeIndex.getDevices(file.getPath(), this);
  }
Open file's end time is Long.MIN_VALUE
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/TsFileResource.java