Description:
In the MySQL 8.0 manual section 18.1.6.4 at https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_... the specified default value of the option binlog_error_action is ambiguous as it shows both values i.e IGNORE_ERROR and ABORT_SERVER.
Just below the table, "This variable defaults to ABORT_SERVER.." which confirms default value. Imho, binlog_error_action's default value is ABORT_SERVER from >= 5.7.7
From 8.0.3 RC instance:
root@localhost [(none)]> show variables like 'binlog_error_action';
+---------------------+--------------+
| Variable_name | Value |
+---------------------+--------------+
| binlog_error_action | ABORT_SERVER |
+---------------------+--------------+
1 row in set (0.00 sec)
root@localhost [(none)]> show variables like '%version%';
+-------------------------+---------------------------------------------------------+
| Variable_name | Value |
+-------------------------+---------------------------------------------------------+
| innodb_version | 8.0.3 |
5.7 - manual has correct information:
https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_...
How to repeat:
As in description.
Suggested fix:
Below info should be removed?
Permitted Values Type enumeration
Default IGNORE_ERROR
Valid Values IGNORE_ERROR
ABORT_SERVER