system-variables: add doc for tidb_max_dist_task_nodes#19878
system-variables: add doc for tidb_max_dist_task_nodes#19878ti-chi-bot[bot] merged 12 commits intopingcap:masterfrom
tidb_max_dist_task_nodes#19878Conversation
system-variables.md
Outdated
| - 类型:整数型 | ||
| - 默认值:`-1` | ||
| - 范围:`-1` 或 `[1, 128]` | ||
| - 该变量定义了分布式框架任务可使用的最大 TiDB 节点数上限。默认值为 `-1`,表示自动模式。在此模式下,系统将自动选择合适的节点数量。 |
There was a problem hiding this comment.
这里建议补充自动计算节点数的算法,便于用户自己算
|
@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
tidb_max_dist_task_nodes
Signed-off-by: tangenta <tangenta@126.com>
Co-authored-by: Frank945946 <108602632+Frank945946@users.noreply.github.com>
|
@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
|
/bot-review |
system-variables.md
Outdated
| - 类型:整数型 | ||
| - 默认值:`-1` | ||
| - 范围:`-1` 或 `[1, 128]` | ||
| - 该变量定义了分布式框架任务可使用的 TiDB 节点数上限。默认值为 `-1`,表示自动模式。在自动模式下,系统将按照 `min(3, tikv_nodes / 3)` 动态地计算该值,其中 `tikv_nodes` 表示集群中 TiKV 节点的数量。 |
There was a problem hiding this comment.
自动模式的描述不够清晰,建议明确说明计算逻辑和适用场景。
| - 该变量定义了分布式框架任务可使用的 TiDB 节点数上限。默认值为 `-1`,表示自动模式。在自动模式下,系统将按照 `min(3, tikv_nodes / 3)` 动态地计算该值,其中 `tikv_nodes` 表示集群中 TiKV 节点的数量。 | |
| 该变量定义了分布式框架任务可使用的 TiDB 节点数上限。默认值为 `-1`,表示自动模式。在自动模式下,系统会根据集群规模动态计算该值,计算公式为 `min(3, tikv_nodes / 3)`,其中 `tikv_nodes` 表示集群中 TiKV 节点的数量。 |
|
✅ AI review completed, 3 comments generated. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hfxsd The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
In response to a cherrypick label: new pull request created to branch |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
tidb_max_dist_task_nodesto specify max node count tidb#58937, sysvar: add validation check for tidb_max_dist_task_nodes tidb#59645Do your changes match any of the following descriptions?