Skip to content

[Subscription] Isolate tree and table consensus topics - #18469

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/subscription-topic-model-isolation
Open

[Subscription] Isolate tree and table consensus topics#18469
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/subscription-topic-model-isolation

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

Fix incremental consensus subscriptions crossing tree-model and table-model DataRegions.

  • Bind a topic only to DataRegions using the same data model, including newly created regions.
  • Reject cross-model InsertNodes in the WAL converter, including merged batch nodes.
  • Add regression coverage for DataRegion matching and converter isolation.

The change is based on the latest origin/master and preserves the upstream audit-database subscription exclusion.

Validation

  • mvn spotless:apply -pl iotdb-core/datanode
  • mvn checkstyle:check -pl iotdb-core/datanode (0 violations)
  • mvn surefire:test -pl iotdb-core/datanode -Dtest=ConsensusLogToTabletConverterTest,ConsensusSubscriptionSetupHandlerTest -DforkCount=0 (21 tests passed)

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