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

   ## Description
   
   This PR reverts the procedure-based RegionGroup cleanup introduced by #18033 
and its follow-up fix #18097.
   
   With the release approaching, this change returns Region replica maintenance 
to the previous implementation instead of shipping the new procedure flow 
without enough time for further stabilization.
   
   The revert:
   
   - restores create and delete task handling in 
`PartitionManager.maintainRegionReplicas()`;
   - removes `RemoveRegionGroupProcedure`, its state, serialization 
registration, and tests;
   - restores the previous cleanup paths in `CreateRegionGroupsProcedure` and 
`DeleteDatabaseProcedure`;
   - restores the previous RegionMaintainer queue and DataNode delete-task 
behavior;
   - preserves unrelated changes merged after the original commits, including 
i18n, subscription procedure registration, metrics, and file API updates;
   - removes i18n constants that became unused after the revert.
   
   ## Compatibility note
   
   This revert removes procedure type `207` and the `DELETE_DATABASE_CONFIG` 
state added by #18033. A cluster that has already run a build containing #18033 
should ensure that no `RemoveRegionGroupProcedure` or affected 
`DeleteDatabaseProcedure` remains persisted or in flight before switching to a 
build containing this revert. Mixed-version rolling rollback is not recommended.
   
   ## Tests
   
   - `mvn spotless:apply -pl iotdb-core/confignode`
   - `mvn compile -pl iotdb-core/confignode -DskipTests`
   - `mvn compile -pl iotdb-core/confignode -P with-zh-locale -DskipTests`
   - `mvn test -pl iotdb-core/confignode -Dtest=PartitionInfoTest`
   


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