dxf: calculate max_node_count and concurrency for next-gen automatically | tidb-test=pr/2584#62995
Conversation
Signed-off-by: tangenta <tangenta@126.com>
|
Hi @tangenta. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #62995 +/- ##
================================================
+ Coverage 72.7739% 74.8622% +2.0883%
================================================
Files 1810 1872 +62
Lines 493564 509565 +16001
================================================
+ Hits 359186 381472 +22286
+ Misses 112542 104602 -7940
- Partials 21836 23491 +1655
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
other reorg DDLs which not run on DXF also need |
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
|
|
||
| func estimateTableSizeByID(ctx context.Context, pdCli pdhttp.Client, pid int64) (int64, error) { | ||
| sk, ek := tablecodec.GetTableHandleKeyRange(pid) | ||
| sRegion, err := pdCli.GetRegionByKey(ctx, codec.EncodeBytes(nil, sk)) |
There was a problem hiding this comment.
why we cannot use the previous sk, ek directly, and use the one get from PD region?
There was a problem hiding this comment.
Not sure if there are specific reasons, this logic is copied from getRegionsInfoForSingleTable. Maybe I can ask the author later.
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
Signed-off-by: tangenta <tangenta@126.com>
|
/retest |
|
@tangenta: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn response to this:
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-sigs/prow repository. |
Signed-off-by: tangenta <tangenta@126.com>
| return 4 | ||
| } | ||
| concurrency := size / (25 * units.GiB) | ||
| concurrency = min(concurrency, int64(coresPerNode-1)) |
There was a problem hiding this comment.
we don't need to minus 1, the 1 is already removed when starting the pod, the runtime.GOMAXPROCS API will return the cores usable to the pod, say a 8c machine, the pod and the runtime.GOMAXPROCS will return 7 already
|
and please finish the |
Signed-off-by: tangenta <tangenta@126.com>
|
/test pull-mysql-client-test-next-gen pull-mysql-client-test |
|
@wuhuizuo: The specified target(s) for
Use DetailsIn response to this:
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-sigs/prow repository. |
|
/test pull-mysql-client-test |
|
@wuhuizuo: The specified target(s) for
Use DetailsIn response to this:
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-sigs/prow repository. |
Signed-off-by: tangenta <tangenta@126.com>
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Signed-off-by: tangenta <tangenta@126.com>
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
/retest |
5 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
/retest |
|
/cherry-pick release-nextgen-20250815 |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@D3Hunter: new pull request created to branch DetailsIn response to this:
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 ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: ref #61702
Problem Summary:
What changed and how does it work?
tidb_max_dist_task_nodesin next-gen.add indexandimport into.Check List
Tests
TBD
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.