alpass163 commented on code in PR #18874:
URL: https://github.com/apache/iotdb/pull/18874#discussion_r4311529353


##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/TreeDeviceViewFieldDetector.java:
##########
@@ -166,59 +260,37 @@ private Map<TConsensusGroupId, TRegionReplicaSet> 
getLatestSchemaRegionMap() {
   private class TreeDeviceViewFieldDetectionTaskExecutor
       extends DataNodeRegionTaskExecutor<TDeviceViewReq, TDeviceViewResp> {
 
-    protected TreeDeviceViewFieldDetectionTaskExecutor(
-        final ConfigManager configManager,
-        final Map<TConsensusGroupId, TRegionReplicaSet> targetRegionGroup,
-        final int tagNumber,
-        final boolean restrict) {
-      super(
-          configManager,
-          targetRegionGroup,
-          false,
-          CnToDnAsyncRequestType.DETECT_TREE_DEVICE_VIEW_FIELD_TYPE,
-          ((dataNodeLocation, consensusGroupIdList) ->
-              new TDeviceViewReq(
-                  consensusGroupIdList, Arrays.asList(path.getNodes()), 
tagNumber, restrict)));
-      configManager
-          .getClusterSchemaManager()
-          .getTemplateSetInfo(Collections.singletonList(path))

Review Comment:
   fixed 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