Bug #98682 Parameter names in error message are omitted "group_replciation" prefix
Submitted: 20 Feb 2020 10:27 Modified: 29 May 2020 10:07
Reporter: Tsubasa Tanaka (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[20 Feb 2020 10:27] Tsubasa Tanaka
Description:
Some parameter names in error message are omitted.

- "enforce_update_everywhere_checks" is "group_replication_enforce_update_everywhere_checks"
  - https://dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replic...

- "single_primary_mode" is "group_replication_single_primary_mode"
  - https://dev.mysql.com/doc/refman/8.0/en/group-replication-options.html#sysvar_group_replic...

These are confused.

How to repeat:
mysql> SET GLOBAL group_replication_enforce_update_everywhere_checks = ON;
ERROR 1231 (42000): Cannot enable enforce_update_everywhere_checks while single_primary_mode is enabled.

And I found same omitting in messages_to_error_log.txt in source code.

https://github.com/mysql/mysql-server/blob/mysql-8.0.19/share/messages_to_error_log.txt#L5...

https://github.com/mysql/mysql-server/blob/mysql-8.0.19/share/messages_to_error_log.txt#L4...

Suggested fix:
Fix parameter names in error message.
[20 Feb 2020 10:28] Tsubasa Tanaka
Fix Category "Group Replication" to "Errors"
[20 Feb 2020 13:18] MySQL Verification Team
Hello tanaka-San,

Thank you for the report and feedback.

regards,
Umesh
[29 May 2020 10:07] Margaret Fisher
Posted by developer:
 
Message text fix, closing with no changelog entry.