dev/2.1/3.0/3.1/4.0: add global variable latency resulted by gvc.#2208
Merged
sre-bot merged 4 commits intopingcap:masterfrom Feb 4, 2020
Merged
dev/2.1/3.0/3.1/4.0: add global variable latency resulted by gvc.#2208sre-bot merged 4 commits intopingcap:masterfrom
sre-bot merged 4 commits intopingcap:masterfrom
Conversation
yikeke
reviewed
Feb 4, 2020
Contributor
yikeke
left a comment
There was a problem hiding this comment.
Some minor changes. Rest LGTM
|
|
||
| > **注意:** | ||
| > | ||
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 | |
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置会持久化到存储层中,单个 TiDB 实例每 2 秒会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存,该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后,为了保证新会话的有效性,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 [Issue #14531](https://github.com/pingcap/tidb/issues/14531)。 |
|
|
||
| > **注意:** | ||
| > | ||
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 | |
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置会持久化到存储层中,单个 TiDB 实例每 2 秒会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存,该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后,为了保证新会话的有效性,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 [Issue #14531](https://github.com/pingcap/tidb/issues/14531)。 |
|
|
||
| > **注意:** | ||
| > | ||
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 | |
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置会持久化到存储层中,单个 TiDB 实例每 2 秒会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存,该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后,为了保证新会话的有效性,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 [Issue #14531](https://github.com/pingcap/tidb/issues/14531)。 |
|
|
||
| > **注意:** | ||
| > | ||
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置都会持久化到存储层中,单个 TiDB 实例每 2s 会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存, 该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后为了保证新会话能够有效,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 Issue [#14531](https://github.com/pingcap/tidb/issues/14531)。 | |
| > 在分布式 TiDB 中,`GLOBAL` 变量的设置会持久化到存储层中,单个 TiDB 实例每 2 秒会主动进行一次全变量的获取并形成 `gvc` (global variables cache) 缓存,该缓存有效时间最多可持续 2 秒。在设置 `GLOBAL` 变量之后,为了保证新会话的有效性,请确保两个操作之间的间隔大于 2 秒。相关细节可以查看 [Issue #14531](https://github.com/pingcap/tidb/issues/14531)。 |
Contributor
|
/run-all-tests |
12 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
What is the related PR or file link(s)?
Which TiDB version(s) does your changes apply to?
Note: If your changes apply to multiple TiDB versions, make sure you update the documents in the corresponding version folders such as "dev", "v3.0", "v2.1" and "v3.1" in this PR.