Known Issues
This section provides an overview of workarounds for known issues with MariaDB.
MariaDB Cluster Recovery
It occurs that a MariaDB cluster member is not following the master node. In this case, we need to bootstrap this lost member again.
You can achieve this by doing these steps (execute all commands on the lost cluster member):
-
Execute
monit stop allto stop all processes -
Make sure that there are no
mariadbprocesses running anymore. You can useps auxto search for still running processes:ps aux | grep mariadbThe PID is in the second column. To kill the process and its child processes, use:
kill -9 {PID}Example:
kill -9 11496 -
Remove the directory
/var/vcap/store/mariadb*rm -rf /var/vcap/store/mariadb* -
Make sure that both
/var/vcap/store/mariadb/var/vcap/store/mariadb-tempare gone:
ls /var/vcap/store
- Run the script
/var/vcap/jobs/mariadb/bin/pre-startas root user - Execute
monit start allto start the processes again.