Skip to content

Fix: send set configuration only to target nodes and harden compaction schedule interruption handling - #17469

Merged
JackieTien97 merged 9 commits into
masterfrom
fixBugs-0414
Apr 14, 2026
Merged

Fix: send set configuration only to target nodes and harden compaction schedule interruption handling#17469
JackieTien97 merged 9 commits into
masterfrom
fixBugs-0414

Conversation

@shuwenwei

Copy link
Copy Markdown
Member

Summary

  • Fix set configuration ... on <nodeId> so ConfigNode only forwards the request to the targeted DataNode instead of all registered DataNodes
  • Harden compaction/TTL schedule workers so user-triggered stop interrupts exit cleanly while unexpected interruptions are logged and tolerated
  • Isolate object-file TTL check failures and extend integration coverage for targeted DataNode configuration updates

Testing

  • Updated IoTDBSetConfigurationTableIT to cover DataNode-scoped configuration changes

shuwenweiand others added 6 commits April 14, 2026 12:00
…ngine/dataregion/compaction/schedule/CompactionScheduleTaskWorker.java
Co-authored-by: Jackie Tien <jackietien97@gmail.com>
…ngine/dataregion/compaction/schedule/TTLScheduleTask.java
Co-authored-by: Jackie Tien <jackietien97@gmail.com>
@codecov

codecovBot commented Apr 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 36.36364% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.84%. Comparing base (55082b2) to head (9377791).
⚠️ Report is 30 commits behind head on master.

Files with missing linesPatch %Lines
...gion/compaction/execute/utils/CompactionUtils.java0.00%10 Missing ⚠️
...paction/schedule/CompactionScheduleTaskWorker.java41.66%7 Missing ⚠️
...ataregion/compaction/schedule/TTLScheduleTask.java50.00%6 Missing ⚠️
.../iotdb/db/storageengine/dataregion/DataRegion.java0.00%4 Missing ⚠️
...action/schedule/CompactionScheduleTaskManager.java83.33%1 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## master #17469 +/- ##
============================================
+ Coverage 39.75% 39.84% +0.08% 
Complexity 312 312 ============================================
Files 5134 5135 +1 Lines 346907 346926 +19 Branches 44194 44204 +10 ============================================
+ Hits 137907 138226 +319 + Misses 209000 208700 -300 

☔ View full report in Codecov by Sentry.
📢 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.

@sonarqubecloud

Copy link
Copy Markdown

@JackieTien97
JackieTien97 merged commit 4559929 into masterApr 14, 2026
29 of 30 checks passed
@JackieTien97
JackieTien97 deleted the fixBugs-0414 branch April 14, 2026 08:09
shuwenwei added a commit that referenced this pull request Apr 22, 2026
Sign up for freeto 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

@shuwenwei@JackieTien97