NetKnights-GmbH / privacyidea-appliance

two-factor authentication system. This is a setup tool for easy system setup.
GNU Affero General Public License v3.0
4 stars 4 forks source link

A function to ¨restart¨ the master-master replication in pi-appliance #105

Open sepp67 opened 2 years ago

sepp67 commented 2 years ago

It could be useful to have an option in the pi-appliance to restart the master-master replication to avoid setting a new replication each time a database is disconnected. The function should do something like:

mysql> STOP REPLICA; mysql> SET GLOBAL SQL_REPLICA_SKIP_COUNTER = 1; mysql> START REPLICA;