Caideyipi opened a new pull request, #19146: URL: https://github.com/apache/iotdb/pull/19146
Backport #19135 (`6a3e9d214a74e6b57bc8927953c00a3ce9b4dcae`) to `dev/1.3`, based on `c1c959f150a476252460cd437722af1bcc1391c1`. During region migration, a cached leader can point to a removed replica. Default schema procedure routing to the first current replica, then prefer the cached leader when it is still present. The production change and deterministic unit test are unchanged from the source commit. The table-model `IoTDBTableTagSchemaMigrationIT` is omitted because `dev/1.3` has no table model, `ITableSession`, or appended TAG-column semantics. Validation: - Spotless passed for both affected files. - On JDK 17, regenerated and freshly compiled all 42 Thrift Commons Java sources from this branch, then compiled the changed utility and unit test against those classes. - `DataNodeRegionGroupUtilTest`: 1 test passed, covering missing, unknown, removed, and valid cached leaders. The same test fails on the unmodified target base with a null destination for the removed leader. - Remote Maven verification was blocked by build-extension dependency resolution; focused validation was completed locally. The full ConfigNode reactor build and cluster integration tests were not 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]
