Skip to content

[Subscription] Reduce consensus WAL replay and ACK contention (#18402) - #18527

Merged
JackieTien97 merged 1 commit into
rc/2.0.11from
to-2011-n
Aug 26, 2026
Merged

[Subscription] Reduce consensus WAL replay and ACK contention (#18402)#18527
JackieTien97 merged 1 commit into
rc/2.0.11from
to-2011-n

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

* [Subscription] Reduce consensus WAL replay and ACK contention

* [Subscription] Avoid redundant consensus WAL refresh work

* [Subscription] Fast-forward WAL iterator across pending delivery

(cherry picked from commit 5d2a0a58774db5359e133b89270f1216a77f3c02)
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.10884% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.69%. Comparing base (ab31e1b) to head (6ac9891).

Files with missing lines Patch % Lines
...cription/broker/consensus/ProgressWALIterator.java 76.66% 28 Missing ⚠️
...on/broker/consensus/ConsensusPrefetchingQueue.java 51.85% 13 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##             rc/2.0.11   #18527      +/-   ##
===============================================
+ Coverage        42.66%   42.69%   +0.02%     
  Complexity         343      343              
===============================================
  Files             5353     5353              
  Lines           380104   380203      +99     
  Branches         49334    49362      +28     
===============================================
+ Hits            162187   162318     +131     
+ Misses          217917   217885      -32     

☔ View full report in Codecov by Harness.
📢 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.

@JackieTien97
JackieTien97 merged commit bf8ac51 into rc/2.0.11 Aug 26, 2026
39 of 42 checks passed
@JackieTien97
JackieTien97 deleted the to-2011-n branch August 26, 2026 09:40
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