docs: update PLAN REPLAYER object storage behavior#22549
docs: update PLAN REPLAYER object storage behavior#22549zeminzhou wants to merge 6 commits intorelease-8.5from
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 |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request updates the documentation for the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the PLAN REPLAYER documentation to reflect its new capabilities with external object storage. The changes are well-written and significantly improve the accuracy and clarity of the documentation. I've included a few minor suggestions to align the text more closely with the repository's style guide, primarily focusing on using active voice and more direct phrasing for better readability.
Note: Security Review has been skipped due to the limited scope of the PR.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
@hawkingrei: 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. |
| ``` | ||
|
|
||
| The method of downloading the file of `PLAN REPLAYER CAPTURE` is the same as that of `PLAN REPLAYER`. For details, see [Examples of exporting cluster information](#examples-of-exporting-cluster-information). | ||
| If [`tidb_cloud_storage_uri`](/system-variables.md#tidb_cloud_storage_uri-new-in-v740) is configured, the captured file is also stored in the configured external storage. The `token` column still records the file token. |
There was a problem hiding this comment.
If tidb_cloud_storage_uri setted , what are the contents of column 'token'?
| > **Note:** | ||
| > | ||
| > The `ZIP` file is stored in a TiDB cluster for at most one hour. After one hour, TiDB will delete it. | ||
| > TiDB keeps the result file for at most one hour. After one hour, TiDB deletes it from the corresponding local or external storage. |
There was a problem hiding this comment.
Will TiDB delete the result file on external storage after one hour ?
Summary
Backport the
PLAN REPLAYERdocumentation update torelease-8.5.PLAN REPLAYERcan store generated files in the storage configured bytidb_cloud_storage_uriPLAN REPLAYER DUMPreturns either a file token or a presigned URL depending on the backend capabilityPLAN REPLAYER CAPTUREfiles can also be stored in external storage while thetokencolumn still records the file tokensystem-variables.mdReference
b9455277b9c3215b97624203b287adf3de8e3184presigned urlto download files for replayer tidb#66084Testing