luoluoyuyu commented on code in PR #15340: URL: https://github.com/apache/iotdb/pull/15340#discussion_r2052074888
########## iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/subtask/PipeAbstractConnectorSubtask.java: ########## @@ -46,6 +46,9 @@ public abstract class PipeAbstractConnectorSubtask extends PipeReportableSubtask // For thread pool to execute callbacks protected ExecutorService subtaskCallbackListeningExecutor; + protected final Object deregisterLock = new Object(); + protected boolean isDeregistering = false; Review Comment: Hi @DanielWang2035 I think this method cannot fundamentally solve the problem of slow Drop Pipe. It is necessary to fundamentally optimize the lock structure of AsyncDataRegionConnector. -- 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]
