Skip to content

Conversation

@Caideyipi
Copy link
Collaborator

Description

As the titles said.


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

@Caideyipi Caideyipi changed the title Fixed the concurrency issue of region migrate and load (#16791) Fixed the concurrency issue of region migrate and load Nov 25, 2025
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 60.39604% with 40 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.78%. Comparing base (36154e5) to head (2c62ceb).
⚠️ Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
.../iotdb/db/storageengine/dataregion/DataRegion.java 74.07% 14 Missing ⚠️
...tatemachine/dataregion/DataRegionStateMachine.java 0.00% 8 Missing ⚠️
...orageengine/dataregion/snapshot/SnapshotTaker.java 37.50% 5 Missing ⚠️
...iotdb/db/storageengine/load/LoadTsFileManager.java 0.00% 5 Missing ⚠️
...ngine/plan/scheduler/load/LoadTsFileScheduler.java 0.00% 3 Missing ⚠️
...g/apache/iotdb/db/storageengine/StorageEngine.java 57.14% 3 Missing ⚠️
...ne/execution/fragment/FragmentInstanceContext.java 0.00% 1 Missing ⚠️
.../execution/fragment/FragmentInstanceExecution.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16796      +/-   ##
============================================
+ Coverage     38.72%   38.78%   +0.06%     
  Complexity      207      207              
============================================
  Files          5006     5006              
  Lines        332048   332126      +78     
  Branches      42227    42233       +6     
============================================
+ Hits         128577   128819     +242     
+ Misses       203471   203307     -164     

☔ 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

@jt2594838 jt2594838 merged commit 03bc260 into master Nov 27, 2025
31 checks passed
@jt2594838 jt2594838 deleted the region-migrate-and-load branch November 27, 2025 01:49
Caideyipi added a commit that referenced this pull request Nov 27, 2025
* rq

* gra

* fix

* fix

* coverage

* fix

* fix

* fix
jt2594838 pushed a commit that referenced this pull request Nov 27, 2025
…16796) (#16823)

* Fixed the concurrency issue of region migrate and load (#16796)

* rq

* gra

* fix

* fix

* coverage

* fix

* fix

* fix

* cp

* fix
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