Repository navigation
bugfix oom if dn not work in long time mo_logger will hold many req in queue cost too much mem - #18081
Merged
Conversation
This reverts commit 9f6f30c.
1 task done
volgariver6
approved these changes
Aug 13, 2024
zhangxu19830126
approved these changes
Aug 14, 2024
aptend
approved these changes
Aug 14, 2024
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
…n queue cost too much mem (matrixorigin#18081) if dn not work in long time mo_logger will hold many req in queue cost too much mem, including module: - mometric/buffer - motrace/content_buffer changes: 1. add `BackOff` strategy: check if metric collector hold more than 8 req in queue. If true pass the sql execution, and do the csv file write. 2. move the `bufferPool` instance in `mfsetETL` obj. 3. more metrics, dashboard to observe the writer workflow. Approved by: @volgariver6, @zhangxu19830126, @aptend
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #17757 (comment)
What this PR does / why we need it:
if dn not work in long time mo_logger will hold many req in queue cost too much mem, including module:
changes:
BackOffstrategy: check if metric collector hold more than 8 req in queue. If true pass the sql execution, and do the csv file write.bufferPoolinstance inmfsetETLobj.