CRZbulabula opened a new pull request, #18945:
URL: https://github.com/apache/iotdb/pull/18945

   ## Problem
   
   `RemoveDataNodesProcedure` reported rollback as unsupported for every state. 
After commit-point rollback gating was introduced, a child migration failure at 
`STOP_DATA_NODE` skipped the parent cleanup, leaving failed DataNodes in 
`Removing` and failing the ConfigNode unit test on Linux and Windows.
   
   ## Solution
   
   - Allow rollback only at `STOP_DATA_NODE`, where the existing rollback hook 
restores failed node statuses and stops fully migrated nodes.
   - Keep earlier states non-rollbackable so their existing retry and 
commit-point behavior is preserved.
   
   ## Validation
   
   - `mvn -pl iotdb-core/confignode -am 
-Dtest=RemoveDataNodesProcedureTest#metadataRetryExhaustionRetriesFailedNodeStatusCleanup
 -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false test`
   - `mvn spotless:apply -pl iotdb-core/confignode`
   


-- 
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]

Reply via email to