Skip to content

docs: document DXF node resource requirements - #24744

Merged
ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
D3Hunter:codex/document-dxf-node-requirements
Dec 1, 2026
Merged

ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
D3Hunter:codex/document-dxf-node-requirements

Conversation

@D3Hunter

@D3Hunter D3Hunter commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What is changed, added, or deleted? (Required)

Document that TiDB nodes eligible to run DXF tasks should have the same number of CPU cores and the same amount of memory. The DXF scheduler assumes uniform resource capacity across these nodes.

Validation passed with the repository Markdown linter and git diff --check.

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.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

  • Related code change PR links (if applicable):
  • This PR is translated from:
  • Other reference link(s): DXF scheduler slot model

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

Summary by CodeRabbit

  • Documentation
    • Clarified that all TiDB nodes must have equal CPU and memory resources, regardless of service scope, to support consistent DXF scheduling.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The DXF prerequisites now require TiDB nodes to have the same CPU core count and memory, regardless of tidb_service_scope. They state that the DXF scheduler assumes equal resource capacity.

Changes: DXF resource prerequisites

Layer / File(s) Summary
Document equal-resource requirements
tidb-distributed-execution-framework.md
The prerequisites specify equal CPU core counts and memory for TiDB nodes, and state that DXF scheduling assumes equal resource capacity.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: qiancai, lilin90

Merge Risk: Minimal · up to bdd40

This documentation update adds a prerequisite that TiDB nodes eligible to run DXF tasks have the same CPU cores and memory. It changes no runtime behavior and is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "docs: document DXF node resource requirements" matches the changeset, which adds a prerequisite that DXF-eligible TiDB nodes must have the same CPU core count and memory. It names the docum…
Description check Passed The description fills in the required 'What is changed' section with a clear explanation: DXF-eligible TiDB nodes should have the same CPU core count and memory because the DXF scheduler assumes unifo…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "docs: document DXF node resource requirements" matches the changeset, which adds a prerequisite that DXF-eligible TiDB nodes must have the same CPU core count and memory. It names the document (DXF node resource requirements) and the type of change (docs). It is specific and concise.

Full details: Description check

Explanation

The description fills in the required 'What is changed' section with a clear explanation: DXF-eligible TiDB nodes should have the same CPU core count and memory because the DXF scheduler assumes uniform resource capacity. It also lists the version checkboxes (master, v9.0, v8.5), links a reference to the DXF scheduler slot model, and marks the AI agent involvement field. The template's first-time contributor checklist is removed, and the CLA checkbox is not addressed, which is acceptable because the author is not necessarily a first-time contributor. The related code change PR field is blank, which is allowed by the template (if applicable).

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingcap/docs
  • Branch: master
  • File: .coderabbit.yaml
  • Commit: f7014a7
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: eb400cb6-b46e-46e6-9673-aa6e75d2fb60
Commits

Reviewing files that changed from the base of the PR and between 584bf22 and bdd40da.

Files selected for processing: 1

  • tidb-distributed-execution-framework.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@dveeden dveeden left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Might be good to add a note to hardware-and-software-requirements.md as well

@ti-chi-bot ti-chi-bot Bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Nov 23, 2026

@wjhuang2016 wjhuang2016 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The prerequisite matches the DXF implementation. The scheduler uses one CPU slot capacity across eligible nodes, and each executor calculates the memory budget for a step from its local memory per core.

Please add the needs-cherry-pick-release-8.5 label before merging so the bot can carry this guidance to the selected v8.5 documentation branch.

@ti-chi-bot

ti-chi-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

@wjhuang2016: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

The prerequisite matches the DXF implementation. The scheduler uses one CPU slot capacity across eligible nodes, and each executor calculates the memory budget for a step from its local memory per core.

Please add the needs-cherry-pick-release-8.5 label before merging so the bot can carry this guidance to the selected v8.5 documentation branch.

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.

@qiancai qiancai self-assigned this Nov 24, 2026
@qiancai qiancai added the needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. label Nov 24, 2026
@ti-chi-bot

ti-chi-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

In response to a cherrypick label: @D3Hunter once the present PR merges, I will cherry-pick it on top of release-8.5 in a new PR and assign it to you.

@qiancai qiancai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rest LGTM

Comment thread tidb-distributed-execution-framework.md Resolved
@ti-chi-bot ti-chi-bot Bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 24, 2026
@ti-chi-bot

ti-chi-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2026-11-23 15:40:01.333828147 +0000 UTC m=+168146.965848137: ☑️ agreed by dveeden.
  • 2026-11-24 10:42:15.306887821 +0000 UTC m=+5399.984469820: ☑️ agreed by qiancai.

@qiancai qiancai added the type/enhancement The issue or PR belongs to an enhancement. label Nov 24, 2026
github-actions Bot added a commit to qiancai/docs-cn that referenced this pull request Nov 24, 2026
Synced from: pingcap/docs#24744
Target PR: pingcap#22100

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

@wjhuang2016 wjhuang2016 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The revised prerequisite explains why eligible DXF nodes should have the same CPU and memory. It matches the scheduler’s shared slot capacity and the executor’s per-core memory calculation. The v8.5 cherry-pick label requested in my previous review is present. The updated page passes the repository Markdown linter.

@ti-chi-bot

ti-chi-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

@wjhuang2016: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

The revised prerequisite explains why eligible DXF nodes should have the same CPU and memory. It matches the scheduler’s shared slot capacity and the executor’s per-core memory calculation. The v8.5 cherry-pick label requested in my previous review is present. The updated page passes the repository Markdown linter.

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.

Comment thread tidb-distributed-execution-framework.md Resolved
Co-authored-by: Grace Cai <qqzczy@126.com>
@qiancai qiancai added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed missing-translation-status This PR does not have translation status info. labels Dec 1, 2026
@qiancai

qiancai commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

/approve

@ti-chi-bot

ti-chi-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Dec 1, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit aff3f03 into pingcap:master Dec 1, 2026
12 checks passed
@ti-chi-bot

ti-chi-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

In response to a cherrypick label: new pull request created: #24790

If you need to push to the cherry-pick branch, comment /cherry-pick-invite on #24790 to be invited as a collaborator of the ti-chi-bot/docs fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. type/enhancement The issue or PR belongs to an enhancement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants