WL#6799: Super-read-only that also blocks SUPER users

Affects: Server-5.7   —   Status: Complete

When bringing servers offline for move, performance of the procedure can be improved by extending READ_ONLY to also block users with SUPER privileges.

This introduces a new option, super_read_only, which supplements read_only. When super_read_only is set to ON, read_only should also be set to ON. When read_only is set to OFF, super_read_only should also be set to OFF. read_only can be set to ON while super_read_only is set to OFF, but not the reverse.

When super_read_only is ON, SUPER users should be blocked from modifying changes in the same way non-SUPER users are affected by read_only being enabled.

Dependent Bugs

  • BUG#75188: WHEN PROMOTING SECONDARY TO PRIMARY, OLD PRIMARY CONTAIN EXTRA TRANSACTIONS

User Documentation