You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "CRZbulabula (via GitHub)" <gi...@apache.org> on 2026/09/18 04:44:44 UTC
[PR] Allow REMOVE REGION for read-only DataNodes [iotdb]
CRZbulabula opened a new pull request, #18670:
URL: https://github.com/apache/iotdb/pull/18670
`REMOVE REGION` currently rejects a target DataNode unless it is `Running`. This prevents removing a region replica from a DataNode intentionally placed in `ReadOnly` state.
This change makes the target status check operation-specific:
- `REMOVE REGION` accepts `Running` and `ReadOnly` targets.
- `MIGRATE REGION`, `RECONSTRUCT REGION`, and `EXTEND REGION` continue to require `Running` targets.
Added a regression test covering removal from a read-only target DataNode.
Validation:
- `mvn spotless:apply -pl iotdb-core/confignode`
- `mvn -pl iotdb-core/confignode -am -DskipTests -Dcheckstyle.skip=true compile`
- `mvn -pl iotdb-core/confignode -am -Dtest=ProcedureManagerReconstructRegionTest -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false test`
- `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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Allow REMOVE REGION for read-only DataNodes [iotdb]
Posted by "CRZbulabula (via GitHub)" <gi...@apache.org>.
CRZbulabula merged PR #18670:
URL: https://github.com/apache/iotdb/pull/18670
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org