HTHou commented on a change in pull request #983: URL: https://github.com/apache/incubator-iotdb/pull/983#discussion_r422656173
########## File path: tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/TimeseriesMetadata.java ########## @@ -114,10 +118,26 @@ public void setChunkMetadataLoader(IChunkMetadataLoader chunkMetadataLoader) { this.chunkMetadataLoader = chunkMetadataLoader; } + public List<ChunkMetadata> loadChunkMetadataList() throws IOException { + if (chunkMetadataList != null) { + chunkMetadataLoader.setDiskChunkLoader(chunkMetadataList); + return chunkMetadataList; + } Review comment: Added. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org