Skip to content

Load: Fixed multiple bugs#17565

Open
Caideyipi wants to merge 1 commit intomasterfrom
load-fix
Open

Load: Fixed multiple bugs#17565
Caideyipi wants to merge 1 commit intomasterfrom
load-fix

Conversation

@Caideyipi
Copy link
Copy Markdown
Collaborator

Description

  1. Optimized the cleanup task to avoid the outdated tasks being blocked by later tasks.
  2. Database lost posibilities
  3. Fixed the query memory leak problems when memory is low.

This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

❌ Patch coverage is 23.52941% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.91%. Comparing base (c9c16a9) to head (0d1c2ba).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...iotdb/db/storageengine/load/LoadTsFileManager.java 0.00% 24 Missing ⚠️
...ageengine/load/memory/LoadTsFileMemoryManager.java 77.77% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17565      +/-   ##
============================================
+ Coverage     39.86%   39.91%   +0.04%     
  Complexity     2547     2547              
============================================
  Files          5171     5172       +1     
  Lines        348176   348225      +49     
  Branches      44489    44494       +5     
============================================
+ Hits         138800   138986     +186     
+ Misses       209376   209239     -137     

☔ 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.

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