Caideyipi opened a new pull request, #19328: URL: https://github.com/apache/iotdb/pull/19328
## Summary Backports correctness fixes from #17821 and #19318 to `dev/1.3`. - #17821: make ConfigNode leader warm-up depend on the required ConfigNode and DataNode heartbeat samples. - #19318: order Pipe leader-change callbacks before Procedure recovery workers and external leader readiness, while preserving the internal recovery readiness path. ## Scenario During ConfigNode startup or a leader change, required node heartbeat samples may still be arriving while Pipe-related procedures need recovery. Warm-up can be delayed by unrelated region or consensus samples, or recovery work can run before Pipe leader-change state is restored. This can delay service or allow work to proceed against incomplete leader state. ## Expected behavior The leader becomes externally ready only after the required warm-up and Pipe recovery ordering is satisfied. Internal recovery procedures retain their dedicated readiness path. ## Validation - `mvn -T 1 clean test -pl iotdb-core/confignode -am -Dtest=ConfigRegionStateMachineTest,LoadManagerTest -Dsurefire.failIfNoSpecifiedTests=false` - 14 tests passed; 0 failures, 0 errors, 0 skipped. -- 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]
