You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing this new tool. It looks interesting.
I see a DSN is provided for a single replica. It would be useful to provide a way to provide multiple replicas to check and to check them all at once, using the slowest one as the throttling bottleneck. This allows for wider deployments with more systems and perhaps where there's a wider geographical usage. Other tools (pt-online-schema-change at least) provide such a facility and that's provided to be very useful. For small clusters you may not think this is needed but for larger MySQL clusters it can be very helpful.
The text was updated successfully, but these errors were encountered:
Thank you for the feature request - I agree that it's a good idea to support multiple.
We don't have this requirement ourselves, so I can't commit to when it will be implemented. However, a contribution that adds it will be most welcome.
In terms of implementation suggestions:
Change ReplicaDSN support multiple DSNs. I am not sure if comma separated is the best way, or if there's a specific feature in the option parser (Kong) to do this.
Change throttler in the Runner to instead be []throttler
Rather than throttle on the slowest (as in the description) throttle on all the throttlers. The value is cached, so this is effectively the same outcome.
We need to modify the tests to make sure we are testing this. Currently the dbdeployer install does configure 2 replicas, so it should be a good starting point. The ENV variables to specify the replica for tests might need changing though.
Thanks for the comments and pointers. I wasn't suggesting you necessarily fix this and agree that if someone else does they should possibly consider doing the work to resolve the feature request. Making this feature visible also shows some possible changes that could be done.
Thanks for sharing this new tool. It looks interesting.
I see a DSN is provided for a single replica. It would be useful to provide a way to provide multiple replicas to check and to check them all at once, using the slowest one as the throttling bottleneck. This allows for wider deployments with more systems and perhaps where there's a wider geographical usage. Other tools (pt-online-schema-change at least) provide such a facility and that's provided to be very useful. For small clusters you may not think this is needed but for larger MySQL clusters it can be very helpful.
The text was updated successfully, but these errors were encountered: