-
Notifications
You must be signed in to change notification settings - Fork 690
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
System Variables page states that tidb_external_ts
is GLOBAL while other pages state it can also be SESSION level
#20611
Comments
@YangKeao Could you please help confirm the scope of the I've tested it on v8.5.1, and it appears to be GLOBAL: mysql> SELECT VARIABLE_NAME, VARIABLE_SCOPE FROM INFORMATION_SCHEMA.VARIABLES_INFO WHERE VARIABLE_NAME = 'tidb_external_ts';
+------------------+----------------+
| VARIABLE_NAME | VARIABLE_SCOPE |
+------------------+----------------+
| tidb_external_ts | GLOBAL |
+------------------+----------------+
1 row in set (0.01 sec) Related PR: pingcap/tidb#38276 |
It's It can be turned on/off in session or global scope because the variable |
To make the description in Stale Read Usage clearer and avoid misunderstandings, I have submitted these PRs for an update:
@YangKeao PTAL |
Error Report
https://docs.pingcap.com/tidb/stable/system-variables/#tidb_external_ts-new-in-v640
Currently the page states that
However elsewhere in the documentation it states that it can be set either globally or at the session level.
I would like this ambiguity to be resolved by either updating the system variables page to note that SESSION scope is also supported, or update the other pages to correct the misinformation.
The page that indicate this can be SESSION scoped states:
The text was updated successfully, but these errors were encountered: