Caideyipi opened a new pull request, #19043: URL: https://github.com/apache/iotdb/pull/19043
Closing one of two snapshot consumers can send an empty `pipeMetas` batch through `pushMultiPipeMeta`. Treating that partial request as a complete coordinator snapshot drops local pipes omitted from the batch while their ConfigNode metadata remains, leaving the remaining consumer polling an empty queue. Route partial batches through a timed write-locked reconciliation that preserves unlisted local pipes. Empty batches are no-ops. Keep the old dropped metadata and its replacement together for alter-progress reuse; complete snapshot synchronization still removes missing pipes. Validation: - Built the clean source dependency closure at `8cdc9681d0141fa51cfd0dc120b67a7383270865` with Linux, JDK 17.0.9 and Maven 3.9.12. - Final targeted run: `mvn test -pl iotdb-core/datanode -am -Dtest=PipeDataNodeTaskAgentTest,DataNodeInternalRPCServiceImplPushMultiPipeMetaTest -Dsurefire.failIfNoSpecifiedTests=false -Pwith-integration-tests`: 24 tests passed, including four new regressions for empty batches, partial updates, partial drops versus full synchronization, and alter replacement. - `mvn spotless:apply -P with-integration-tests -pl iotdb-core/datanode` and `git diff --check` passed. - Full integration tests and Chinese locale compilation were not run for this standalone change. -- 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]
