MaxScale and multimaster
Answer
The service definition looks OK. Multi-master setups usually set one of the servers into read-only mode with SET GLOBAL read_only=ON
to allow it to be used as a read-only slave.
The main problem with multiple master servers will be that the chosen master will depend on the order of the servers declared with the servers
parameter. It is also not recommended to use readwritesplit in a setup with more than one master server as it will not use the other masters for reads. The readconnroute
router combined with server weghting is a better solution for a highly available setup with multiple masters.
For more information, read the readconnroute documentation and the section on server weights in the configuration guide.