Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Security Compatibility with MySQL #5921

Merged
merged 2 commits into from
Jul 29, 2021

Conversation

dveeden
Copy link
Contributor

@dveeden dveeden commented Jul 5, 2021

What is changed, added or deleted? (Required)

Update Security Compatibility with MySQL

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

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

Related to pingcap/tidb#24991

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

@ti-chi-bot ti-chi-bot requested a review from TomShawn July 5, 2021 09:10
@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 5, 2021
@TomShawn TomShawn requested review from tiancaiamao and morgo July 5, 2021 09:24
@TomShawn TomShawn added for-future-release This PR only applies to master for now and might cherry-pick to a future release. translation/doing This PR's assignee is translating this PR. labels Jul 5, 2021
@ti-chi-bot ti-chi-bot removed the missing-translation-status This PR does not have translation status info. label Jul 5, 2021
@morgo
Copy link
Contributor

morgo commented Jul 5, 2021

@dveeden did you want to add the sysvar DefaultAuthPlugin here as well?

@dveeden dveeden force-pushed the caching_sha2_password branch from 30f4523 to 2c6c337 Compare July 6, 2021 05:56

- Scope: GLOBAL
- Default value: `mysql_native_password`
- This variable sets the authentication method the server advertises during connection establishment.
Copy link
Contributor

Choose a reason for hiding this comment

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

@dveeden is this more correct?:

Suggested change
- This variable sets the authentication method the server advertises during connection establishment.
- This variable sets the default authentication method for users connecting to TiDB.
- Changes to this variable will only affect new users. To modify the authentication plugin of an existing user, use the [`ALTER USER`](/sql-statements/sql-statement-alter-user.md) statement.

Copy link
Contributor Author

@dveeden dveeden Jul 6, 2021

Choose a reason for hiding this comment

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

No that's not correct.

This sets the authentication method that is advertised in the server greeting. This may or may not be used by clients to then send a 'login' packet with that authentication method.

The MySQL 8.0 client by default ignores this and uses caching_sha2_password unless there is a explicit method set in the client (unlikely). See https://bugs.mysql.com/bug.php?id=93044 for details.

If the authentication method send by the client matches that of the actual useraccount (mysql.user.plugin) then the authentication will proceed and if not the server send an AuthSwitchRequest to the client with info on what plugin should be used for that specific account.

In MySQL 8.0 this variable also influences the plugin that is used for CREATE USER if no plugin is specified. That's not the case in TiDB.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK thanks for clarifying. Lets disregard my comment, it LGTM.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- This variable sets the authentication method the server advertises during connection establishment.
- This variable sets the authentication method that the server advertises when the server-client connection is being established.

@morgo morgo self-requested a review July 6, 2021 17:34
Copy link
Contributor

@morgo morgo left a comment

Choose a reason for hiding this comment

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

LGTM.

The linter issues reported are unrelated:

releases/release-5.1.0.md: this file has manual line breaks in the following lines:

MANUAL LINE BREAKS: L138
MANUAL LINE BREAKS: L143
MANUAL LINE BREAKS: L153
MANUAL LINE BREAKS: L165

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 6, 2021
@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • morgo
  • tiancaiamao

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 12, 2021
@dveeden dveeden force-pushed the caching_sha2_password branch 3 times, most recently from 07fc4e2 to 19a424c Compare July 12, 2021 13:36
@TomShawn TomShawn added type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes. status/require-change Needs the author to address comments. labels Jul 15, 2021
security-compatibility-with-mysql.md Outdated Show resolved Hide resolved

- Scope: GLOBAL
- Default value: `mysql_native_password`
- This variable sets the authentication method that the server advertises when the server-cient connection is being established. Possible values for this variable are documented in [Authentication plugin status](/security-compatibility-with-mysql.md#authentication-plugin-status)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- This variable sets the authentication method that the server advertises when the server-cient connection is being established. Possible values for this variable are documented in [Authentication plugin status](/security-compatibility-with-mysql.md#authentication-plugin-status)
- This variable sets the authentication method that the server advertises when the server-client connection is being established.

Copy link
Contributor

Choose a reason for hiding this comment

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

In this table, several methods are not supported. And "TLS authentication" has no value.
image

security-compatibility-with-mysql.md Outdated Show resolved Hide resolved
system-variables.md Show resolved Hide resolved
@dveeden dveeden force-pushed the caching_sha2_password branch 3 times, most recently from 216d189 to fbc92d9 Compare July 20, 2021 07:09
@dveeden dveeden force-pushed the caching_sha2_password branch from fbc92d9 to cbc474f Compare July 20, 2021 07:22
system-variables.md Outdated Show resolved Hide resolved
system-variables.md Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 29, 2021
- Scope: GLOBAL
- Default value: `mysql_native_password`
- This variable sets the authentication method that the server advertises when the server-client connection is being established. Possible values for this variable are documented in [Authentication plugin status](/security-compatibility-with-mysql.md#authentication-plugin-status).
- Value options: `mysql_native_password` and `caching_sha2_password`. For more details, see [Authentication plugin status](/security-compatibility-with-mysql.md#authentication-plugin-status).
Copy link
Contributor

Choose a reason for hiding this comment

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

Follow up: add "since v5.2" back once the release-5.2 branch is available.

@TomShawn TomShawn added requires-followup This PR requires a follow-up task after being merged. and removed status/require-change Needs the author to address comments. labels Jul 29, 2021
@TomShawn
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 7ac50a3

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 29, 2021
@ti-chi-bot ti-chi-bot merged commit 9c47224 into pingcap:master Jul 29, 2021
@en-jin19 en-jin19 added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR's assignee is translating this PR. labels Aug 5, 2021
@TomShawn TomShawn added v5.2 This PR/issue applies to TiDB v5.2. and removed for-future-release This PR only applies to master for now and might cherry-pick to a future release. type/compatibility-or-feature-change This PR involves compatibility changes or feature behavior changes. labels Aug 6, 2021
TomShawn added a commit that referenced this pull request Oct 8, 2021
* Dumping default consistency description (#5985)

* update max-replicas description (#5984)

* Remove the swappiness parameter (#5987)

* system-variables: update for consistency (#5826)

* Change tidb_memory_usage_alarm_ratio scope to instance (#5988)

* Punctuation fix: Replace 。with . (#6002)

* index page: updated the phase of TiDB Cloud from Beta to Public Preview (#6014)

* Migration FAQs: added the FAQ links of the migration related tools (#6010)

* TiUP cluster: update data_dir (#6009)

* Add kafka downstream example (#6005)

* TiKV configuration: Update description for pin-l0-filter-and-index-blocks (#6008)

* Update the default value of tidb_stmt_summary_max_stmt_count (#6021) (#6023)

* update docs related to partition table dynamic mode (#5997)

* partitioning: Corrected partition management (#5498)

* TiDB binlog: update descriptions about commit ts and passoword (#5986)

* releases: add tidb 4.0.14 release notes (#5996)

* fix a typo for sync_diff_inspector (#6041)

* Update dashboard FAQ (#5895)

* update stale read doc for ga (#6047)

* configure-time-zone: mention `system_time_zone` (#6032)

* Update Security Compatibility with MySQL (#5921)

* correct document of using br backup and restore system tables (#6057)

* Add description about telemetry of builtin functions usage (#6028)

* Add TiDB Dashboard session docs (#6058)

* update br faq (#6060)

* releases: add TiDB 5.1.1 release notes (#6030)

* grafana-overview-dashboard: update the monitoring item for CPS (#6066)

* deploy-tidb-binlog: make the expression on deployment clearer (#6073)

* Add documentation on how to modify gcttl by tiup (#6071)

* remove useless variable (#6076)

* ticdc: add mysql sink user privilege (#6072)

* deleted roadmap.md (#6079)

* TiDB Monitoring Metrics: remove a line (#6081)

* TiDB configuration: add a security option `require-secure-transport` (#6080)

* chore: lock plugin versions (#6089)

* cdc: add compatibility notes for sort-dir (#6086)

* Add gc ttl (#6102) (#6103)

* 5.1.0 release notes: Fix link to telemetry docs (#6106)

* sql-statement-select: Add '...FOR UPDATE NOWAIT' (#6085)

* TiCDC: update a golang demo link (#6055)

* br/use-br-command-line-tool: supplement br note (#6000)

* pr_template: Provides tips for cherry-pick (#6042)

* pr_template: Provides tips for cherry-pick

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* TiDB monitoring: add table storage info status api (#6110)

* update doc for Oracle translate function (#6053)

* ticdc: add explicit_defaults_for_timestamp compatibility troubleshoot (#6115)

* Add print the bad sst files and related information for tikv-ctl (#6109)

* add a missing note (#6129)

* Add docs for auto-tls setting (#6125)

* TiFlash: remove outdated tune advise (#6133)

* TiDB lightning: remove default backend setting (#6132)

* tidb-scheduling: fix typo (#6140)

* Suggest Log Redaction when using TDE (#6147)

* Add infoschema.referential_constraints (#6139)

* Add steps to get lightning goroutine (#6001)

* tiup: fix dead links (#6153)

* Deleted description about not supporting some features. (#6157)

* high-concurrency-best-practices: fix the support info of follower read (#6161)

* Update function list pushed down to tiflash (#6165)

* The `log_dir` should be the log directory (#6168)

* Make IP address of Monitoring & Grafana for Minimal Topology consistent (#6178)

* tikv: add storage flow control doc (#6173)

* TiDB configuration: update the default value of `stmt_max_count` (#6172)

* ticdc-open-api: add ticdc open api doc (#6186)

* System variables: update `broadcast_join_threshold_count` and `broadc… (#6181)

* Update tikv-configuration-file.md (#6180)

* TiFlash configuration: update `io_rate_limit` (#6176)

* Add information of hashAgg for memory control (#6171)

* Update description on rule based index selection (#6160)

* add dr auto sync (#6182)

* update doc for SPM (#6146)

* docs: update rereject leader docs (#6183)

* SQL statement, system variables: update expression indexes (#6185)

* Updated sql-plan-management.md (#6184)

* Introduced 2 new variables (#6159)

* Fix broken link in error codes doc and support doc (#6196)

* docs: fix format for TiKV and PD configuration file template invalid. (#6197)

* docs: separate query statement and result in two text boxes. (#6204) (#6205)

* adopters: add zhihu case study (#6207)

* Added descriptions about slow node detection (#6174)

* pd-control: add new config of balance-hot-region-scheduler (#6148)

* add notice about scaling in pd node (#6099)

* add example for expression index (#6215)

* adopters: remove 404 links (#6214)

* ticdc: fix wording (#6231)

* Revert "System variables: update `broadcast_join_threshold_count` and `broadc…" (#6232)

* Update documents of lock view for sprint 4 (#6179)

* ticdc-open-api: correct some error (#6239)

* best practices: add timeout options for Java best practices (#6136)

* update PR template for v5.2 (#6166)

* chore: stop building temporary (#6252)

* fix typo for sql-plan-management.md (#6248)

* alert rules: update some descriptions (#6250)

* Quick start: update version and TiUP playground supports M1 silicon (#6149)

* fix typo: relaod -> reload (#6235)

* tiny fix on index selection (#6265)

* add commands to check tikv user (#5999)

* br: add restore to systables (#6004)

* br: add restore to systables

* Apply suggestions from code review

Co-authored-by: TomShawn <[email protected]>

Co-authored-by: TomShawn <[email protected]>

* statement summary: update statement summary doc (#6084)

* Require process privilege for dumpling (#6187)

* tiflash: Remove the description about expr_blacklist in use_tiflash.md (#6188)

* Add description about table name/alias specifying for read_from_storage hint (#6164)

* complex tidb binlog.yaml: add checkpoint info (#6216)

* TiKV configuration: remove redundant instructions (#6218)

* alert rules: remove some descriptions (#6223)

* Revert "add dr auto sync" (#6294)

* TiFlash Config: Add annotation (v5.2.0) (#6296)

* sql: improve kill's description (#6233)

* Add v5.2 TPCH report (#6170)

* docs: fix expression index's document again (#6295)

* system variables.md: add a warning message (#6298)

* sql-statement: Add ADMIN SHOW TELEMETRY (#6138)

* tiup: add notice about importing cluster (#6108)

* Bump version for v5.2.0 (#6191)

* add TiDB 5.2.0 release note (#6237)

* add two HTAP documents (#6206)

* benchmark: add v5.2 benchmark results (#6319)

* Fix title typo (#6324)

* release note: update feature description (#6325)

* adopters: add xiaomi (#6303)

* chore: migrate scripts to docs (#6338)

* credits: update links to the full list of code and docs contributors (#6111)

* TiUP: add instructions for offline mirror (#6137)

* tune tikv memory performance: remove description for sync-log (#6234)

* dashboard statement list: add a note to explain the blue bar and yellow line (#6189)

* release 5.1.0: add compatibility change for `tidb_enable_noop_functions` (#6222)

* modify configuration online: remove unsupported parameters (#6300)

* modify configuration online: change a name for consistency (#6301)

* Migrate from Aurora: update Aurora MySQL dumpling command (#6335)

* PD configuration file: add log level (#6302)

* TiDB Binlog config: update "syncer.to.checkpoint" info (#6340)

* update doc on wal-recovery-mode and use-direct-io-for-flush-and-compaction (#6163)

* Fix TOC display error (#6369)

* sql: fix the correctness problem about kill (#6377)

* change expressions related to statement summary tables (#6299)

* Update grafana-pd-dashboard.md (#6388)

* system variables: update description about `tidb_opt_prefer_range_scan` (#6389)

* Update alert rule for low space (#6376)

* chore: add dispatch back (#6404)

* Add description for TiKV Ready handled panel (#6375)

* TiKV config: fix wrong description about `compaction-readahead-size` (#6371)

* update transaction doc (#6158)

* BR FAQ: add a warning about multi br importing (#6263)

* Configuration Options: remove two TiDB's command options (#6370)

* system-variables: improve noop functions warning (#6374)

* add doc links to overview.md (#6422)

* chore: fix byte encode (#6428)

* performance_schema -> information_schema (#6418)

* chore: update ci scripts (#6429)

* Enhance TiDB login descriptions - EN (#6427)

* release-notes: add 5.2.1 release notes (#6438)

* basic features: add feature matrix (#6130)

* release note: add a check item for feedback-probability (#6405)

* Update system variables for correctness (#6224)

* encryption-at-rest: Update (#6152)

* basic-features: collapse charset and collations (#6452)

* system-variables: update from generated source (#6451)

* fix-enable-compaction-filter-in-tikv-configuration-file (#6403)

* Update the related variable description for CREATE INDEX (#6434)

* TiKV config: add 7 log-related congifurations (#6372)

* Configure placement rules: fix placement doc (#6450)

* adopters: add Pinterest (#6443)

* release-5.2.0: Add info about caching_sha2 (#6344)

* faq: add info for schema is changed error (#6453)

* Update enable-tls-between-clients-and-servers.md (#6493)

* adopters: remove Pinterest (#6501)

* Fix wrong wording in mysql-compatibility.md (#6511)

* adopters: add Huya Live (#6516)

* tidb-configuration-file: correct the default value of committer-concurrency (#6526)

* Tune TiKV: change the default value of `grpc-concurrency` (#6531)

* releases: add tidb 4.0.15 release notes (#6475)

* releases: add tidb 5.0.4 release notes (#6449)

* releases: add tidb 5.1.2 release notes (#6500)

* releases: add TiDB 5.1.2-10-06-33 release notes

* releases: add TiDB 5.1.2-10-06-33 release notes
* Update releases/release-5.1.2-10-06-33.md

* toc

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* add notes from comments

* add more tidb notes

* Update releases/release-5.1.2.md

Co-authored-by: Yuanjia Zhang <[email protected]>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Enwei <[email protected]>
Co-authored-by: xixirangrang <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: shichun-0415 <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: Yuanjia Zhang <[email protected]>

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>

* replace pr numbers with issue numbers

* Update releases/release-5.1.2.md

Co-authored-by: Liuxiaozhen12 <[email protected]>

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Enwei <[email protected]>

* fix

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

Co-authored-by: Enwei <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: Grace Cai <[email protected]>

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* Apply suggestions from code review

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

Co-authored-by: Enwei <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: shichun-0415 <[email protected]>

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* move notes

Co-authored-by: TomShawn <[email protected]>
Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Yuanjia Zhang <[email protected]>
Co-authored-by: Enwei <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>

* remove a note about `raftstore.sync-log` (#6563)

* Add desc of "Storage Write Stall" row in the TiFlash grafana (#6524)

* system variables: update tidb_enable_noop_functions behavior (#6525)

* system variables: document last_insert_id (#6502)

* docs: update pd-configuration about upgrade (#6510)

* fix example for expression index (#6499)

* tidb: fix default value of performance.committer-concurrency (#6498)

* chore: remove circleci config (#6577)

* Document missing sysvars (#6485)

* system-variables: add skip-name-resolve (#6491)

* Document a few more system variables (#6492)

* add dr auto sync (#6592)

* Update from master

Co-authored-by: Enwei <[email protected]>
Co-authored-by: disksing <[email protected]>
Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Morgan Tocker <[email protected]>
Co-authored-by: Daniël van Eeden <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Ti Chi Robot <[email protected]>
Co-authored-by: Mattias Jonsson <[email protected]>
Co-authored-by: ti-srebot <[email protected]>
Co-authored-by: glorv <[email protected]>
Co-authored-by: Suhaha <[email protected]>
Co-authored-by: Ian <[email protected]>
Co-authored-by: Yu Lei <[email protected]>
Co-authored-by: Wenxuan <[email protected]>
Co-authored-by: zhouqiang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: Yini Xu <[email protected]>
Co-authored-by: WangZhengru <[email protected]>
Co-authored-by: Xintao <[email protected]>
Co-authored-by: Daniël van Eeden <[email protected]>
Co-authored-by: Allen Zhong <[email protected]>
Co-authored-by: ruoxi <[email protected]>
Co-authored-by: Yasuo Honda <[email protected]>
Co-authored-by: Yasuo Honda <[email protected]>
Co-authored-by: Defined2014 <[email protected]>
Co-authored-by: Ran <[email protected]>
Co-authored-by: Chengpeng Yan <[email protected]>
Co-authored-by: Yifan Xu <[email protected]>
Co-authored-by: Weizhen Wang <[email protected]>
Co-authored-by: Ziqian Qin <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>
Co-authored-by: you06 <[email protected]>
Co-authored-by: Fendy <[email protected]>
Co-authored-by: Kolbe Kegel <[email protected]>
Co-authored-by: jirongq <[email protected]>
Co-authored-by: Caitin <[email protected]>
Co-authored-by: Yuanjia Zhang <[email protected]>
Co-authored-by: JaySon <[email protected]>
Co-authored-by: unconsolable <[email protected]>
TomShawn added a commit that referenced this pull request Oct 9, 2021
* Dumping default consistency description (#5985)

* update max-replicas description (#5984)

* Remove the swappiness parameter (#5987)

* system-variables: update for consistency (#5826)

* Change tidb_memory_usage_alarm_ratio scope to instance (#5988)

* Punctuation fix: Replace 。with . (#6002)

* index page: updated the phase of TiDB Cloud from Beta to Public Preview (#6014)

* Migration FAQs: added the FAQ links of the migration related tools (#6010)

* TiUP cluster: update data_dir (#6009)

* Add kafka downstream example (#6005)

* TiKV configuration: Update description for pin-l0-filter-and-index-blocks (#6008)

* Update the default value of tidb_stmt_summary_max_stmt_count (#6021) (#6023)

* update docs related to partition table dynamic mode (#5997)

* partitioning: Corrected partition management (#5498)

* TiDB binlog: update descriptions about commit ts and passoword (#5986)

* releases: add tidb 4.0.14 release notes (#5996)

* fix a typo for sync_diff_inspector (#6041)

* Update dashboard FAQ (#5895)

* update stale read doc for ga (#6047)

* configure-time-zone: mention `system_time_zone` (#6032)

* Update Security Compatibility with MySQL (#5921)

* correct document of using br backup and restore system tables (#6057)

* Add description about telemetry of builtin functions usage (#6028)

* Add TiDB Dashboard session docs (#6058)

* update br faq (#6060)

* releases: add TiDB 5.1.1 release notes (#6030)

* grafana-overview-dashboard: update the monitoring item for CPS (#6066)

* deploy-tidb-binlog: make the expression on deployment clearer (#6073)

* Add documentation on how to modify gcttl by tiup (#6071)

* remove useless variable (#6076)

* ticdc: add mysql sink user privilege (#6072)

* deleted roadmap.md (#6079)

* TiDB Monitoring Metrics: remove a line (#6081)

* TiDB configuration: add a security option `require-secure-transport` (#6080)

* chore: lock plugin versions (#6089)

* cdc: add compatibility notes for sort-dir (#6086)

* Add gc ttl (#6102) (#6103)

* 5.1.0 release notes: Fix link to telemetry docs (#6106)

* sql-statement-select: Add '...FOR UPDATE NOWAIT' (#6085)

* TiCDC: update a golang demo link (#6055)

* br/use-br-command-line-tool: supplement br note (#6000)

* pr_template: Provides tips for cherry-pick (#6042)

* pr_template: Provides tips for cherry-pick

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* TiDB monitoring: add table storage info status api (#6110)

* update doc for Oracle translate function (#6053)

* ticdc: add explicit_defaults_for_timestamp compatibility troubleshoot (#6115)

* Add print the bad sst files and related information for tikv-ctl (#6109)

* add a missing note (#6129)

* Add docs for auto-tls setting (#6125)

* TiFlash: remove outdated tune advise (#6133)

* TiDB lightning: remove default backend setting (#6132)

* tidb-scheduling: fix typo (#6140)

* Suggest Log Redaction when using TDE (#6147)

* Add infoschema.referential_constraints (#6139)

* Add steps to get lightning goroutine (#6001)

* tiup: fix dead links (#6153)

* Deleted description about not supporting some features. (#6157)

* high-concurrency-best-practices: fix the support info of follower read (#6161)

* Update function list pushed down to tiflash (#6165)

* The `log_dir` should be the log directory (#6168)

* Make IP address of Monitoring & Grafana for Minimal Topology consistent (#6178)

* tikv: add storage flow control doc (#6173)

* TiDB configuration: update the default value of `stmt_max_count` (#6172)

* ticdc-open-api: add ticdc open api doc (#6186)

* System variables: update `broadcast_join_threshold_count` and `broadc… (#6181)

* Update tikv-configuration-file.md (#6180)

* TiFlash configuration: update `io_rate_limit` (#6176)

* Add information of hashAgg for memory control (#6171)

* Update description on rule based index selection (#6160)

* add dr auto sync (#6182)

* update doc for SPM (#6146)

* docs: update rereject leader docs (#6183)

* SQL statement, system variables: update expression indexes (#6185)

* Updated sql-plan-management.md (#6184)

* Introduced 2 new variables (#6159)

* Fix broken link in error codes doc and support doc (#6196)

* docs: fix format for TiKV and PD configuration file template invalid. (#6197)

* docs: separate query statement and result in two text boxes. (#6204) (#6205)

* adopters: add zhihu case study (#6207)

* Added descriptions about slow node detection (#6174)

* pd-control: add new config of balance-hot-region-scheduler (#6148)

* add notice about scaling in pd node (#6099)

* add example for expression index (#6215)

* adopters: remove 404 links (#6214)

* ticdc: fix wording (#6231)

* Revert "System variables: update `broadcast_join_threshold_count` and `broadc…" (#6232)

* Update documents of lock view for sprint 4 (#6179)

* ticdc-open-api: correct some error (#6239)

* best practices: add timeout options for Java best practices (#6136)

* update PR template for v5.2 (#6166)

* chore: stop building temporary (#6252)

* fix typo for sql-plan-management.md (#6248)

* alert rules: update some descriptions (#6250)

* Quick start: update version and TiUP playground supports M1 silicon (#6149)

* fix typo: relaod -> reload (#6235)

* tiny fix on index selection (#6265)

* add commands to check tikv user (#5999)

* br: add restore to systables (#6004)

* br: add restore to systables

* Apply suggestions from code review

Co-authored-by: TomShawn <[email protected]>

Co-authored-by: TomShawn <[email protected]>

* statement summary: update statement summary doc (#6084)

* Require process privilege for dumpling (#6187)

* tiflash: Remove the description about expr_blacklist in use_tiflash.md (#6188)

* Add description about table name/alias specifying for read_from_storage hint (#6164)

* complex tidb binlog.yaml: add checkpoint info (#6216)

* TiKV configuration: remove redundant instructions (#6218)

* alert rules: remove some descriptions (#6223)

* Revert "add dr auto sync" (#6294)

* TiFlash Config: Add annotation (v5.2.0) (#6296)

* sql: improve kill's description (#6233)

* Add v5.2 TPCH report (#6170)

* docs: fix expression index's document again (#6295)

* system variables.md: add a warning message (#6298)

* sql-statement: Add ADMIN SHOW TELEMETRY (#6138)

* tiup: add notice about importing cluster (#6108)

* Bump version for v5.2.0 (#6191)

* add TiDB 5.2.0 release note (#6237)

* add two HTAP documents (#6206)

* benchmark: add v5.2 benchmark results (#6319)

* Fix title typo (#6324)

* release note: update feature description (#6325)

* adopters: add xiaomi (#6303)

* chore: migrate scripts to docs (#6338)

* credits: update links to the full list of code and docs contributors (#6111)

* TiUP: add instructions for offline mirror (#6137)

* tune tikv memory performance: remove description for sync-log (#6234)

* dashboard statement list: add a note to explain the blue bar and yellow line (#6189)

* release 5.1.0: add compatibility change for `tidb_enable_noop_functions` (#6222)

* modify configuration online: remove unsupported parameters (#6300)

* modify configuration online: change a name for consistency (#6301)

* Migrate from Aurora: update Aurora MySQL dumpling command (#6335)

* PD configuration file: add log level (#6302)

* TiDB Binlog config: update "syncer.to.checkpoint" info (#6340)

* update doc on wal-recovery-mode and use-direct-io-for-flush-and-compaction (#6163)

* Fix TOC display error (#6369)

* sql: fix the correctness problem about kill (#6377)

* change expressions related to statement summary tables (#6299)

* Update grafana-pd-dashboard.md (#6388)

* system variables: update description about `tidb_opt_prefer_range_scan` (#6389)

* Update alert rule for low space (#6376)

* chore: add dispatch back (#6404)

* Add description for TiKV Ready handled panel (#6375)

* TiKV config: fix wrong description about `compaction-readahead-size` (#6371)

* update transaction doc (#6158)

* BR FAQ: add a warning about multi br importing (#6263)

* Configuration Options: remove two TiDB's command options (#6370)

* system-variables: improve noop functions warning (#6374)

* add doc links to overview.md (#6422)

* chore: fix byte encode (#6428)

* performance_schema -> information_schema (#6418)

* chore: update ci scripts (#6429)

* Enhance TiDB login descriptions - EN (#6427)

* release-notes: add 5.2.1 release notes (#6438)

* basic features: add feature matrix (#6130)

* release note: add a check item for feedback-probability (#6405)

* Update system variables for correctness (#6224)

* encryption-at-rest: Update (#6152)

* basic-features: collapse charset and collations (#6452)

* system-variables: update from generated source (#6451)

* fix-enable-compaction-filter-in-tikv-configuration-file (#6403)

* Update the related variable description for CREATE INDEX (#6434)

* TiKV config: add 7 log-related congifurations (#6372)

* Configure placement rules: fix placement doc (#6450)

* adopters: add Pinterest (#6443)

* release-5.2.0: Add info about caching_sha2 (#6344)

* faq: add info for schema is changed error (#6453)

* Update enable-tls-between-clients-and-servers.md (#6493)

* adopters: remove Pinterest (#6501)

* Fix wrong wording in mysql-compatibility.md (#6511)

* adopters: add Huya Live (#6516)

* tidb-configuration-file: correct the default value of committer-concurrency (#6526)

* Tune TiKV: change the default value of `grpc-concurrency` (#6531)

* releases: add tidb 4.0.15 release notes (#6475)

* releases: add tidb 5.0.4 release notes (#6449)

* releases: add tidb 5.1.2 release notes (#6500)

* releases: add TiDB 5.1.2-10-06-33 release notes

* releases: add TiDB 5.1.2-10-06-33 release notes
* Update releases/release-5.1.2-10-06-33.md

* toc

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* add notes from comments

* add more tidb notes

* Update releases/release-5.1.2.md

Co-authored-by: Yuanjia Zhang <[email protected]>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Enwei <[email protected]>
Co-authored-by: xixirangrang <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: shichun-0415 <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: Yuanjia Zhang <[email protected]>

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>

* replace pr numbers with issue numbers

* Update releases/release-5.1.2.md

Co-authored-by: Liuxiaozhen12 <[email protected]>

* Apply suggestions from code review

Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Enwei <[email protected]>

* fix

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

Co-authored-by: Enwei <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: Grace Cai <[email protected]>

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* Apply suggestions from code review

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

Co-authored-by: Enwei <[email protected]>

* Update releases/release-5.1.2.md

Co-authored-by: shichun-0415 <[email protected]>

* Update releases/release-5.1.2.md

* Update releases/release-5.1.2.md

* Apply suggestions from code review

* move notes

Co-authored-by: TomShawn <[email protected]>
Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Yuanjia Zhang <[email protected]>
Co-authored-by: Enwei <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>

* remove a note about `raftstore.sync-log` (#6563)

* Add desc of "Storage Write Stall" row in the TiFlash grafana (#6524)

* system variables: update tidb_enable_noop_functions behavior (#6525)

* system variables: document last_insert_id (#6502)

* docs: update pd-configuration about upgrade (#6510)

* fix example for expression index (#6499)

* tidb: fix default value of performance.committer-concurrency (#6498)

* chore: remove circleci config (#6577)

* Document missing sysvars (#6485)

* system-variables: add skip-name-resolve (#6491)

* Document a few more system variables (#6492)

* add dr auto sync (#6592)

* tiflash, metric: add alert for TiFlash down (#6590)

Co-authored-by: Enwei <[email protected]>
Co-authored-by: disksing <[email protected]>
Co-authored-by: Liuxiaozhen12 <[email protected]>
Co-authored-by: Morgan Tocker <[email protected]>
Co-authored-by: Daniël van Eeden <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Ti Chi Robot <[email protected]>
Co-authored-by: Mattias Jonsson <[email protected]>
Co-authored-by: ti-srebot <[email protected]>
Co-authored-by: glorv <[email protected]>
Co-authored-by: Suhaha <[email protected]>
Co-authored-by: Ian <[email protected]>
Co-authored-by: Yu Lei <[email protected]>
Co-authored-by: Wenxuan <[email protected]>
Co-authored-by: zhouqiang <[email protected]>
Co-authored-by: xixirangrang <[email protected]>
Co-authored-by: Yini Xu <[email protected]>
Co-authored-by: WangZhengru <[email protected]>
Co-authored-by: Xintao <[email protected]>
Co-authored-by: Daniël van Eeden <[email protected]>
Co-authored-by: Allen Zhong <[email protected]>
Co-authored-by: ruoxi <[email protected]>
Co-authored-by: Yasuo Honda <[email protected]>
Co-authored-by: Yasuo Honda <[email protected]>
Co-authored-by: Defined2014 <[email protected]>
Co-authored-by: Ran <[email protected]>
Co-authored-by: Chengpeng Yan <[email protected]>
Co-authored-by: Yifan Xu <[email protected]>
Co-authored-by: Weizhen Wang <[email protected]>
Co-authored-by: Ziqian Qin <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>
Co-authored-by: you06 <[email protected]>
Co-authored-by: Fendy <[email protected]>
Co-authored-by: Kolbe Kegel <[email protected]>
Co-authored-by: jirongq <[email protected]>
Co-authored-by: Caitin <[email protected]>
Co-authored-by: Yuanjia Zhang <[email protected]>
Co-authored-by: JaySon <[email protected]>
Co-authored-by: unconsolable <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires-followup This PR requires a follow-up task after being merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. v5.2 This PR/issue applies to TiDB v5.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants