Bug #118109 mysqlrouter's routing_strategy is not optional

Submitted: 3 May 2025 12:57 Modified: 3 May 2025 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 2025 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 2025 13:05] MySQL Verification Team
Hello tanaka-San,

Thank you for the report and feedback.

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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.