You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: clarify large-value type limits in TiDB limitations - #21992
Update tidb-limitations.md to add MEDIUMTEXT, LONGTEXT, MEDIUMBLOB, LONGBLOB, and JSON to the data type limits table.
Clarify that values larger than 65,535 bytes are supported through the larger text and blob types, and that the actual stored value size is bounded by the single-row size limit controlled by txn-entry-size-limit.
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.
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.
The new note on raising the single-row size limit omits two related settings. Users who raise only txn-entry-size-limit toward 120 MiB can still hit max_allowed_packet or txn-total-size-limit failures. Adding both prerequisites to the note is a small fix, and nothing else blocks the merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
标题“docs: clarify large-value type limits in TiDB limitations”与变更内容相符。变更更新 tidb-limitations.md,新增 MEDIUMTEXT、LONGTEXT、MEDIUMBLOB、LONGBLOB 和 JSON 等类型,并说明大值类型的大小限制。标题简洁、具体,能说明主要变更。
Reviewing files that changed from the base of the PR and between 7df856d and 10c6c79.
📒 Files selected for processing: 1
tidb-limitations.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.
ti-chi-botBot
added
size/S
Denotes a PR that changes 10-29 lines, ignoring generated files.
and removed
size/XS
Denotes a PR that changes 0-9 lines, ignoring generated files.
labels
Oct 22, 2026
Reviewing files that changed from the base of the PR and between 10c6c79 and 5bce595.
📒 Files selected for processing: 1
tidb-limitations.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.
Reviewing files that changed from the base of the PR and between 5bce595 and 9eee3ca.
Files selected for processing: 1
tidb-limitations.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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added, or deleted? (Required)
tidb-limitations.mdto addMEDIUMTEXT,LONGTEXT,MEDIUMBLOB,LONGBLOB, andJSONto the data type limits table.txn-entry-size-limit.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)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
MEDIUMTEXT、LONGTEXT、MEDIUMBLOB、LONGBLOB和JSON。txn-entry-size-limit调整。TEXT和BLOB的大小限制与 MySQL 对应类型一致;超过 65,535 字节的值应使用更大的类型。