Skip to content

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

Merged
JackieTien97 merged 9 commits intomasterfrom
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 intomasterfrom
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

shuwenwei and 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
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

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 lines Patch % Lines
...gion/compaction/execute/utils/CompactionUtils.java 0.00% 10 Missing ⚠️
...paction/schedule/CompactionScheduleTaskWorker.java 41.66% 7 Missing ⚠️
...ataregion/compaction/schedule/TTLScheduleTask.java 50.00% 6 Missing ⚠️
.../iotdb/db/storageengine/dataregion/DataRegion.java 0.00% 4 Missing ⚠️
...action/schedule/CompactionScheduleTaskManager.java 83.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 master Apr 14, 2026
29 of 30 checks passed
@JackieTien97 JackieTien97 deleted the fixBugs-0414 branch April 14, 2026 08:09
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