apecloud / myduckserver

MySQL & Postgres Analytics, Reimagined
184 stars 8 forks source link

Be compatible with 'SHOW SLAVE STATUS' #124

Closed VWagen1989 closed 2 weeks ago

VWagen1989 commented 2 weeks ago

Applications like MariaDB MaxScale still use old fashion syntax SHOW SLAVE STATUS to fetch the the replication status from a replica. However, the parser(vitess) we use does not support these obsolete statements. Furthermore, the terms in the returned results have also been changed to new terms. MySQL 8 shares the same behaviour..

To be compatible with these applications, we can intercept and replace these statements with the new ones and change the terms in the resultset to the old ones before returning to those applications.