CRZbulabula opened a new pull request, #18696: URL: https://github.com/apache/iotdb/pull/18696
## What problem does this solve? `MIGRATE REGION`, `EXTEND REGION`, `REMOVE REGION`, and `RECONSTRUCT REGION` could return HTTP/status code 200 even when every supplied region ID was invalid. The ConfigNode response already contained per-region submission details, but that message was dropped along the DataNode/JDBC/CLI path, which made an unsuccessful submission look successful to operators. ## What changed? - Return a per-region submission summary for the four region operations. - Return success only when all requested regions are accepted. - Return the operation error status for partial or completely failed submissions while preserving successful and failed region details. - Reject empty/all-invalid requests without submitting a procedure. - Deduplicate `RECONSTRUCT REGION` inputs and report invalid region IDs. - Preserve and display the ConfigNode summary through DataNode, JDBC, and CLI. - Fix `EXTEND REGION` to use its own error status and make invalid DataNode handling null-safe. - Add English/Chinese messages and focused tests. The displayed result describes procedure submission/acceptance; it is not a claim that the asynchronous procedure has finished executing. ## Verification - `mvn test-compile -DskipTests` - `mvn test-compile -P with-zh-locale -DskipTests` - `mvn spotless:check -pl iotdb-core/confignode,iotdb-core/datanode,iotdb-client/jdbc,iotdb-client/cli` - `ProcedureManagerReconstructRegionTest` - `IoTDBStatementTest` - `AbstractCliTest` - `git diff --check` -- 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]
