qiaojialin commented on a change in pull request #4537:
URL: https://github.com/apache/iotdb/pull/4537#discussion_r771355953



##########
File path: 
server/src/main/java/org/apache/iotdb/db/engine/compaction/cross/inplace/manage/CrossSpaceMergeResource.java
##########
@@ -103,12 +104,15 @@ public void clear() throws IOException {
     fileReaderCache.clear();
     fileWriterCache.clear();
     modificationCache.clear();
-    measurementSchemaMap.clear();
     chunkWriterCache.clear();
   }
 
   public IMeasurementSchema getSchema(PartialPath path) {
-    return measurementSchemaMap.get(path);
+    try {
+      return IoTDB.metaManager.getSeriesSchema(path);
+    } catch (MetadataException e) {

Review comment:
       we could throw it




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to