-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
tidb_constraint_check_in_place_pessimistic
should not be global scope, and should not affect internal sessions
#38766
Labels
affects-6.3
affects-6.4
severity/critical
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Comments
12 tasks
Is it the exact reason of the inconsistency in system tables? |
Well I haven't investigated it. It might be. After the fix we can see if it still happens since it is said to be reproducible. |
ti-chi-bot
added
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
labels
Nov 4, 2022
ekexium
removed
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
labels
Nov 4, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 7, 2022
12 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/tidb
that referenced
this issue
Nov 7, 2022
ekexium
added
sig/transaction
SIG:Transaction
severity/critical
and removed
type/enhancement
The issue or PR belongs to an enhancement.
severity/major
labels
Nov 7, 2022
ti-chi-bot
added
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
labels
Nov 7, 2022
ekexium
changed the title
Nov 7, 2022
tidb_constraint_check_in_place_pessimistic
should not be global scopetidb_constraint_check_in_place_pessimistic
should not be global scope, and should not affect internal sessions
ti-chi-bot
added a commit
that referenced
this issue
Nov 7, 2022
14 tasks
ekexium
added
affects-6.3
and removed
may-affects-4.0
This bug maybe affects 4.0.x versions.
may-affects-5.1
This bug maybe affects 5.1.x versions.
may-affects-5.2
This bug maybe affects 5.2.x versions.
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-5.0
This bug maybe affects 5.0.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
labels
Nov 16, 2022
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.3
affects-6.4
severity/critical
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Enhancement
Changing this variable can lead to unexpected results. Internals sessions shouldn't be affected by it as well, e.g. the imeplementation of
get_lock()
depends ontidb_contraint_check_in_place_pessimistic=1
to work.We should only allow sessions that are aware of its effects use it.
The text was updated successfully, but these errors were encountered: