-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
tikv_gc_safe_point
in mysql.tidb does not go forward when autocommit = 0 for global
#24976
Comments
Please edit this comment or add a new comment to complete the following informationBugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)he sessions of GC will be affected by global variables, if the user set global autocommit = 0, then saveValueToSysTable will not commit the transaction automatically, which will make the safe point could not go forward. 2. Symptom (optional)The value of safe point in the table of mysql.tidb will not go forward, but GC will continue. 3. All Trigger Conditions (optional)
4. Workaround (optional)
5. Affected versions[v3.0.10:v5.0.1] 6. Fixed versionsv5.0.2 |
( FixedVersions AffectedVersions ) fields are empty. |
( AffectedVersions ) fields are empty. |
1 similar comment
( AffectedVersions ) fields are empty. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
set global autocommit = 0
select variable_value from mysql.tidb where variable_name = 'tikv_gc_safe_point';
to check the value will change or not.2. What did you expect to see? (Required)
Value changed.
3. What did you see instead (Required)
Not changed. If I
set global autocommit = 1
, it will go forward again.4. What is your TiDB version? (Required)
v5.0.1, v4.0.12
The text was updated successfully, but these errors were encountered: