turning on tidb_restricted_read_only doesn't affects super_read_only #31745
Labels
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
when turning on tidb_restricted_read_only it is also meant to turn on tidb_super_read_only, and when tidb_restricted_read_only is on, the user can't turn off tidb_super_read_only.
2. What did you expect to see? (Required)
as described
3. What did you see instead (Required)
the constraints are not enforced
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: