shuwenwei commented on code in PR #16035:
URL: https://github.com/apache/iotdb/pull/16035#discussion_r2244187353


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/schema/ClusterSchemaFetchExecutor.java:
##########
@@ -297,8 +303,16 @@ private void parseFetchedData(
         for (int i = 0; i < size; i++) {
           databaseSet.add(ReadWriteIOUtils.readString(inputStream));
         }
-      } else if (type == 1) {
-        
resultSchemaTree.mergeSchemaTree(ClusterSchemaTree.deserialize(inputStream));
+      } else if (type == 1 || type == 2) {

Review Comment:
   Fixed, but it should be noted that the current version and the previous 
version may still be incompatible, because the datanode of current version may 
provide incomplete schema tree tsblock to a datanode of old version



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