Skip to content

Comments

Pipe: Refactored the dataRegionId data type to integer#17214

Merged
jt2594838 merged 1 commit intomasterfrom
int-refactor
Feb 24, 2026
Merged

Pipe: Refactored the dataRegionId data type to integer#17214
jt2594838 merged 1 commit intomasterfrom
int-refactor

Conversation

@Caideyipi
Copy link
Collaborator

Description

As the title 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

@sonarqubecloud
Copy link

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.51%. Comparing base (7e0837b) to head (e835104).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...ipe/event/common/heartbeat/PipeHeartbeatEvent.java 0.00% 12 Missing ⚠️
...tdb/db/pipe/metric/source/PipeAssignerMetrics.java 18.18% 9 Missing ⚠️
...gion/realtime/assigner/PipeDataRegionAssigner.java 80.76% 5 Missing ⚠️
.../iotdb/db/storageengine/dataregion/DataRegion.java 66.66% 3 Missing ⚠️
...pe/consensus/deletion/DeletionResourceManager.java 71.42% 2 Missing ⚠️
.../event/common/tsfile/PipeTsFileInsertionEvent.java 0.00% 2 Missing ⚠️
...peHistoricalDataRegionTsFileAndDeletionSource.java 0.00% 2 Missing ⚠️
...mmon/tsfile/PipeCompactedTsFileInsertionEvent.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master   #17214   +/-   ##
=========================================
  Coverage     39.51%   39.51%           
  Complexity      282      282           
=========================================
  Files          5101     5101           
  Lines        341895   341916   +21     
  Branches      43525    43525           
=========================================
+ Hits         135085   135107   +22     
+ Misses       206810   206809    -1     

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

@jt2594838 jt2594838 merged commit 1fdd4b3 into master Feb 24, 2026
31 of 32 checks passed
@jt2594838 jt2594838 deleted the int-refactor branch February 24, 2026 09:56
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