public synchronized Map<IDeviceID, Boolean> tryGetDeviceIsAlignedMap(
      final boolean cacheOtherMetadata) throws IOException {
    if (deviceIsAlignedMap == null && isTsFile) {
      if (cacheOtherMetadata) {
        cacheObjectsIfAbsent();
      } else {
        cacheDeviceIsAlignedMapIfAbsent();
      }
    }
    return deviceIsAlignedMap;
  }
this TsFileResource is used to track the {@link TsFileResourceStatus} of original TsFile. *
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/resource/tsfile/PipeTsFileResource.java