Skip to content

[ConfigNode] Revert procedure-based RegionGroup cleanup and fix RegionMaintainer retries - #18528

Merged
CRZbulabula merged 1 commit into
apache:rc/2.0.11from
CRZbulabula:yongzao/cp-18404-rc-2.0.11
Aug 26, 2026
Merged

[ConfigNode] Revert procedure-based RegionGroup cleanup and fix RegionMaintainer retries#18528
CRZbulabula merged 1 commit into
apache:rc/2.0.11from
CRZbulabula:yongzao/cp-18404-rc-2.0.11

Conversation

@CRZbulabula

Copy link
Copy Markdown
Contributor

Description

Cherry-picks #18404 to rc/2.0.11.

  • Restores RegionMaintainer ownership of RegionGroup replica cleanup and processes both create and delete tasks.
  • Treats idempotent DataNode responses (region already exists or does not exist) as completed work so retry queues can drain safely.
  • Removes obsolete procedure-based RegionGroup cleanup state and moves database cleanup to direct SchemaRegion deletion with queued fallback.
  • Preserves current release-branch changes while resolving the import conflicts in ProcedureManager and DataNodeInternalRPCServiceImplTest.
  • Reuses the existing localized ProcedureMessages constants for the new DeleteDatabaseProcedure logs.

Verification

  • mvn spotless:apply -pl iotdb-core/confignode,iotdb-core/datanode
  • mvn -q test-compile -DskipTests -pl iotdb-core/confignode,iotdb-core/datanode -am
  • mvn -q test-compile -DskipTests -P with-zh-locale -pl iotdb-core/confignode,iotdb-core/datanode -am
  • mvn -q surefire:test -pl iotdb-core/datanode -Dtest=DataNodeInternalRPCServiceImplTest
  • PartitionManagerRegionMaintainTest could not be executed because the target branch has unrelated ConfigNode Pipe API compilation mismatches; these files are outside this PR.
  • Full Reactor mvn test-compile -DskipTests was blocked in distribution while Maven downloaded the ConfigNode snapshot ZIP from repository.apache.org (truncated transfer).

@CRZbulabula
CRZbulabula force-pushed the yongzao/cp-18404-rc-2.0.11 branch from aa202e3 to 46580d9 Compare August 26, 2026 11:53
@CRZbulabula
CRZbulabula merged commit 6349515 into apache:rc/2.0.11 Aug 26, 2026
41 checks passed
@CRZbulabula
CRZbulabula deleted the yongzao/cp-18404-rc-2.0.11 branch August 26, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant