ttl: document index scans for TTL jobs - #23813
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe documentation adds the ChangesTTL index scan documentation
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change documents TTL index-scan configuration, eligibility, fallback behavior, and task metadata. The documented task scan-path semantics are now clear, with no remaining current-head merge risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Advanced
Run ID: b3739982-aa29-4e28-ac3a-da57471a7a0e
📒 Files selected for processing (3)
system-variable-reference.mdsystem-variables.mdtime-to-live.md
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.
What is changed, added, or deleted? (Required)
Document TTL index scans, including the system variable, eligible index requirements, fallback behavior, and task metadata.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
tidb_ttl_enable_index_scanto the system variable reference.ONvalue, behavior, and TiDB Cloud availability.scan_index_idfield in the TTL task table to clarify the selected scan path.