diff --git a/go/flags/endtoend/flags_test.go b/go/flags/endtoend/flags_test.go index 775b570f394..b920ed424a2 100644 --- a/go/flags/endtoend/flags_test.go +++ b/go/flags/endtoend/flags_test.go @@ -1388,7 +1388,7 @@ max_rate_approach_threshold: 0.9 --unhealthy_threshold duration replication lag after which a replica is considered unhealthy (default 2h0m0s) --use_super_read_only - Set super_read_only flag when performing planned failover. (default true) + Set super_read_only flag when performing planned failover. (default false) --v value log level for V logs --version diff --git a/go/vt/vttablet/tabletmanager/rpc_replication.go b/go/vt/vttablet/tabletmanager/rpc_replication.go index bc71df46c5e..cdf8cd56d0f 100644 --- a/go/vt/vttablet/tabletmanager/rpc_replication.go +++ b/go/vt/vttablet/tabletmanager/rpc_replication.go @@ -40,7 +40,7 @@ import ( var ( enableSemiSync = flag.Bool("enable_semi_sync", false, "Enable semi-sync when configuring replication, on primary and replica tablets only (rdonly tablets will not ack).") - setSuperReadOnly = flag.Bool("use_super_read_only", true, "Set super_read_only flag when performing planned failover.") + setSuperReadOnly = flag.Bool("use_super_read_only", false, "Set super_read_only flag when performing planned failover.") ) // ReplicationStatus returns the replication status