Skip to content

Pipe: Fixed the bug that drop pipe may stuck when disruptor is interrupted or ring buffer full - #17673

Merged
jt2594838 merged 3 commits into
masterfrom
interrupt
Jun 2, 2026
Merged

Pipe: Fixed the bug that drop pipe may stuck when disruptor is interrupted or ring buffer full#17673
jt2594838 merged 3 commits into
masterfrom
interrupt

Conversation

@Caideyipi

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

@codecov

codecovBot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.50980% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.79%. Comparing base (2ba2914) to head (fc55468).
⚠️ Report is 2 commits behind head on master.

Files with missing linesPatch %Lines
...gion/realtime/assigner/PipeDataRegionAssigner.java64.00%9 Missing ⚠️
...e/dataregion/realtime/assigner/DisruptorQueue.java80.00%2 Missing ⚠️
...ion/realtime/disruptor/MultiProducerSequencer.java66.66%2 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## master #17673 +/- ##
=========================================
Coverage 40.78% 40.79% Complexity 2610 2610 =========================================
Files 5184 5184 Lines 350861 350900 +39 Branches 44888 44896 +8 =========================================
+ Hits 143082 143133 +51 + Misses 207779 207767 -12 

☔ 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

Quality Gate FailedQuality Gate failed

Failed conditions
C 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

@jt2594838
jt2594838 merged commit b614d6d into masterJun 2, 2026
42 of 49 checks passed
@jt2594838
jt2594838 deleted the interrupt branch June 2, 2026 06:29
jt2594838 pushed a commit that referenced this pull request Jun 3, 2026
…upted or ring buffer full (#17673) (#17818)
* Fix interrupt
* spotless
(cherry picked from commit b614d6d)
MileaRobertStefan pushed a commit to MileaRobertStefan/iotdb that referenced this pull request Jun 26, 2026
…upted or ring buffer full (apache#17673)
* Fix interrupt
* spotless
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

@Caideyipi@jt2594838