Skip to content

Only send table deletion to related region groups#17896

Open
jt2594838 wants to merge 1 commit into
masterfrom
fix_deletion_broadcase
Open

Only send table deletion to related region groups#17896
jt2594838 wants to merge 1 commit into
masterfrom
fix_deletion_broadcase

Conversation

@jt2594838

Copy link
Copy Markdown
Contributor

Description

  • Query ConfigNode for DataRegion groups by delete database and deletion time range instead of reading the full region route map.
  • Add coverage for fetching delete replica sets from the target database/time ranges and avoiding getLatestRegionRouteMap.

Verification

  • mvn spotless:apply -pl iotdb-core/datanode
  • git diff --check
  • mvn test -pl iotdb-core/datanode -Dtest=AnalyzeUtilsTest (blocked during main compile by existing missing generated/dependency classes such as SubscriptionWalRetentionPolicy, RegionProgress, WriterId, WriterProgress, TGetCommitProgressReq, and RelationalSqlParser.NextFillContext)

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.68%. Comparing base (c3e74a2) to head (f704f17).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...otdb/db/queryengine/plan/analyze/AnalyzeUtils.java 75.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17896      +/-   ##
============================================
+ Coverage     40.54%   40.68%   +0.13%     
+ Complexity     2622     2620       -2     
============================================
  Files          5244     5244              
  Lines        362367   362384      +17     
  Branches      46651    46656       +5     
============================================
+ Hits         146938   147451     +513     
+ Misses       215429   214933     -496     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants