Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 4, 2025

Cherry-picked from #58530

…sink operation (#58530)

### What problem does this PR solve?

Now, each VNodeChannel limit `_pending_batches_bytes` by config
`nodechannel_pending_queue_max_bytes`, but it will still cause excessive
memory usage on too many BE nodes or high concurrency.

This pr introduce back pressure writing when memory usage is high in
`VTabletWriter` to solve the issue.
@github-actions github-actions bot requested a review from yiguolei as a code owner December 4, 2025 06:45
@Thearas
Copy link
Contributor

Thearas commented Dec 4, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring closed this Dec 4, 2025
@dataroaring dataroaring reopened this Dec 4, 2025
@Thearas
Copy link
Contributor

Thearas commented Dec 4, 2025

run buildall

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 0.00% (0/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 53.28% (18416/34566)
Line Coverage 38.80% (169072/435703)
Region Coverage 33.58% (130860/389703)
Branch Coverage 34.47% (56430/163709)

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.

4 participants