I am using mysqlrouter
to route traffic to InnoDB cluster nodes with master-slave replication (1 master + 2 slaves). For some reason, I am frequently facing replication issues and seeing that replicas don't have data for the last 2 hours.
As a result, application, which uses Read-Only nodes has incorrect data. Is it possible for mysqlrouter to detect replicas, which are not in-sync and not to route traffic there?
Asked
Active
Viewed 195 times
2

Rahul
- 1,727
- 3
- 18
- 33
2 Answers
0
I don't believe that MySQL Router as such option. MySQL Router is more focused in Group Replication.
Maybe you could consider tuning up your replication to reduce the delay.
But if you need such functionality you can look up for ProxySQL. It is an alternative to MySQL Router. You can read more about the functionality in their documentation.

JPBorges
- 53
- 5