add a better clarification on how sysvar changes "propagate"#5562
add a better clarification on how sysvar changes "propagate"#5562ti-chi-bot merged 2 commits intopingcap:release-5.0from
Conversation
|
/cc @xhebox |
|
/cc @zhangjinpeng1987 |
|
/lgtm |
|
@xhebox: 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 ti-community-infra/tichi repository. |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
|
@TomShawn: 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 ti-community-infra/tichi repository. |
|
/lgtm |
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by writing |
|
/remove-status LGT1 |
|
@morgo Can we merge this PR? |
yes, it's ready to go. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: afb446c |
|
In response to a cherrypick label: new pull request created: #5641. |
What is changed, added or deleted? (Required)
The sysvar docs imply that the 2 second delay is propagation to other servers. This is not the case, there is no propagation at all, because the table is stored in TiKV. The delay is the global values cache, and thus it affects the issuing server as well.
This affects all versions, but master will hopefully have a fix soon so I'll create a separate PR to document the different semantics.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
For GA releases it is pingcap/tidb#22808
(I will leave the issue open until master is fixed)
Do your changes match any of the following descriptions?