|
In the openstack environment of containerized deployment managed by Kubernetes, mariadb is used to manage the database. Now I am performing an openstack upgrade operation. I backed up the data in the mysql database in one environment and imported it into the database in the other environment. The replicas of the database service is 3 . AfterI executed the import command, I found that the data in the mysql library will only be written to one of the pods, and this pod may not be the master of the cluster. The mysql user table in the other two pods is empty, what's more restarting the service will not synchronize data with the pods that have data.
|