Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change use_super_read_only default back to false
This is because when this flag is true you may not be able to restart a replica/rdonly vttablet process. This is because: 1. The tablet has enabled super_read_only in its mysqld because it's a replica tablet. 2. When a tablet starts up, it attempts to run some DDL statements as the DBA user such as CREATE DATABASE IF NOT EXISTS _vt and that will fail with an error because the mysqld has super_read_only enabled. 3. So the tablet will not be able to come back up properly. We really should be enabling super_read_only, both in the config file and in the tablet via this flag, as without that we will in some cases allow errant GTIDs to be generated which are then lying in wait to cause later issues. We will enable it at both layers as part of adding full super_read_only support to Vitess in (which is targeted for v15): vitessio#10363 Signed-off-by: Matt Lord <[email protected]>
- Loading branch information