Skip to content

branch-3.0: [improve](load) do not block delta writer if memtable memory is low #42649#43943

Merged
dataroaring merged 1 commit intobranch-3.0from
auto-pick-42649-branch-3.0
Nov 14, 2024
Merged

branch-3.0: [improve](load) do not block delta writer if memtable memory is low #42649#43943
dataroaring merged 1 commit intobranch-3.0from
auto-pick-42649-branch-3.0

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #42649

…42649)

## Proposed changes

Currently when the process memory usage is high, even if load memory
usage is low,
the load could be blocked by process memory reach hard limit.
This may cause query memory cannot be released in `INSERT INTO SELECT`
statements.

This PR changes this behavior. If the total load memory usage is lower
than 5% (current default),
the load will no longer be blocked by hard limit.
@doris-robot
Copy link

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?

@doris-robot
Copy link

run buildall

@dataroaring dataroaring reopened this Nov 14, 2024
@github-actions
Copy link
Contributor Author

clang-tidy review says "All clean, LGTM! 👍"

@dataroaring dataroaring merged commit b85c394 into branch-3.0 Nov 14, 2024
@dataroaring dataroaring deleted the auto-pick-42649-branch-3.0 branch November 14, 2024 11:09
kaijchen added a commit to kaijchen/doris that referenced this pull request Nov 21, 2024
dataroaring pushed a commit that referenced this pull request Nov 22, 2024
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.

3 participants

Comments