Bug #118109 mysqlrouter's routing_strategy is not optional
Submitted: 3 May 12:57 Modified: 3 May 13:05
Reporter: Tsubasa Tanaka (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:8.4 OS:Any
Assigned to: CPU Architecture:Any

[3 May 12:57] Tsubasa Tanaka
Description:
This is documentation issue.

The table of parameters describe

> routing_strategy	Routing strategy (optional), how router chooses destination MySQL servers	String

But routing_strategy is not optional, if there's no routing_strategy in mysqlrouter.conf, mysqlrouter exits with following log.

```
2025-05-03 12:50:28 main ERROR [7f3823d0ec00] Configuration error: option routing_strategy in [routing:xxx] is required
```

How to repeat:
https://dev.mysql.com/doc/mysql-router/8.4/en/mysql-router-conf-options.html#option_mysqlr...

Open URL and search "optional" by Ctrl+F
[3 May 13:05] MySQL Verification Team
Hello tanaka-San,

Thank you for the report and feedback.

regards,
Umesh
[6 May 10:52] Edward Gilmore
Posted by developer:
 
The documentation has been updated as requested.
Thank you for the bug report.