host_priority should be controlled under mysql_servers table

Description

In order to take advantage of proxySQL multi schema design, it would make more sense to control the priority of failover using mysql_servers table using a "failover" hostgorup for read and write, which will be used only to dictate the order in which failover must occur. In this case, one can change the server order as it will on mysql_server table, once all changes are done, issue a LOAD MYSQL SERVERS TO RUNTIME and the script should query runtime_mysql_servers.

This also allows for proper weight of readers.

Environment

None

Smart Checklist

Activity

Marcelo Altmann July 9, 2018 at 11:49 AM

yes, https://jira.percona.com/browse/PSQLADM-31 will solve this issue. Closing

Ramesh Sivaraman July 9, 2018 at 4:54 AM

Can we close this ticket with ? 

Duplicate

Details

Assignee

Reporter

Fix versions

Priority

Smart Checklist

Created December 24, 2017 at 4:29 PM
Updated March 6, 2024 at 5:50 PM
Resolved July 9, 2018 at 11:50 AM