Caideyipi opened a new pull request, #19057: URL: https://github.com/apache/iotdb/pull/19057
## Problem Consensus subscription progress broadcasts were rate-limited at commit time, so an ACK arriving inside the five-second window could remain pending when no later commit arrived. ## Changes - Coalesce one scheduled broadcast per writer and commit-state generation, reading the latest committed progress when the window expires. - Isolate pending and throttle state across writers and unsubscribe/resubscribe, and guard stale tasks during state replacement. - Clear pending markers when executor scheduling is rejected. - Add focused tests for trailing ACKs, writer isolation, lifecycle races, and rejection handling. ## Validation - `mvn clean test -pl iotdb-core/datanode -am -Dtest=ConsensusSubscriptionCommitBroadcastTest -Dsurefire.failIfNoSpecifiedTests=false` - `mvn spotless:apply -P with-integration-tests` -- 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]
