New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddl: set writer memory size and merge part size by resource #52329
Conversation
Hi @tangenta. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #52329 +/- ##
================================================
+ Coverage 72.3519% 74.5076% +2.1557%
================================================
Files 1470 1471 +1
Lines 427187 431988 +4801
================================================
+ Hits 309078 321864 +12786
+ Misses 98865 90215 -8650
- Partials 19244 19909 +665
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@tangenta: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
@@ -88,16 +88,15 @@ func (m *mergeSortExecutor) RunSubtask(ctx context.Context, subtask *proto.Subta | |||
} | |||
|
|||
prefix := path.Join(strconv.Itoa(int(m.jobID)), strconv.Itoa(int(subtask.ID))) | |||
partSize, err := getMergeSortPartSize(m.avgRowSize, subtask.Concurrency, m.idxNum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m.avgRowSize is also not used any more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance6716, ywqzzy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold a little comment |
/unhold |
In response to a cherrypick label: new pull request created to branch |
What problem does this PR solve?
Issue Number: close #52328
Problem Summary:
What changed and how does it work?
Complies with the resource usage restrictions of the dist task framework.
Before this PR:
The memory size is very unstable.
After this PR:
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.