Skip to content

Conversation

@xinyiZzz
Copy link
Contributor

Proposed changes

Issue Number: close #11124

Problem Summary:

  1. Disable the load channel mem tracker, which will not effectively limit the memory of the load channel mgr. In order to avoid frequent flush mem table due to inaccurate statistics of load channel mem tracker.

  2. Modify the return value of MemTracker::check_limit, which will cause the schema change to fail

Checklist(Required)

  1. Does it affect the original behavior: (Yes)
  2. Has unit tests been added: (No Need)
  3. Has document been added or modified: (No Need)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
This is just a temp fix, to not check mem limit in load channel.
We should fix that part later.

@xinyiZzz
Copy link
Contributor Author

This is just a temp fix, to not check mem limit in load channel.
We should fix that part later.

ok i will do it soon~

@github-actions github-actions bot added kind/test approved Indicates a PR has been approved by one committer. labels Jul 22, 2022
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yiguolei yiguolei merged commit ad31b6c into apache:master Jul 22, 2022
miswujian pushed a commit to miswujian/doris that referenced this pull request Jul 28, 2022
whutpencil pushed a commit to whutpencil/incubator-doris that referenced this pull request Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/memory-consumption kind/test reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] load channel mgr frequently flush mem table

3 participants