Caideyipi opened a new pull request, #19327: URL: https://github.com/apache/iotdb/pull/19327
## Summary Backport the pipe lifecycle resource cleanup from #17666 (`b2a6c642e533fef9e0c6e73f5cc81334db8ed03f`) onto `dev/1.3` at `86f93353021c8d0015f1da3e22a88e10ea8bbcc4`. - When an in-flight event finishes after its pipe is dropped, it could recreate committer or metric state that the drop already cleaned up. Late events now leave that state cleared. - When a lagging schema-region follower installs a snapshot without a pipe listening queue, its old queue could stay open. Snapshot recovery now closes and clears the old queue. ## Backport scope The patch uses the existing 1.3 snapshot and pipe metadata APIs. The completion-metrics lifecycle changes are omitted because `dev/1.3` has no corresponding subsystem. ## Verification - `git diff --check`, Spotless, and `mvn clean test-compile -pl iotdb-core/node-commons,iotdb-core/datanode -am -T 1` passed. - An earlier focused run passed `PipeTaskAgentTest` and `IoTDBSinkRateLimiterTest` and hit fixture errors in `PipeEventCommitManagerTest`. The replacement fixture compiles. Its runtime cases and the four DataNode test classes still need to run. -- 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]
