0
我建立一個2節點MariaDB的加萊拉簇(36年5月5日),兩者均節點1和節點可以看到的變化,如果創建數據庫/表格,甚至插入1行到所創建的表中,但如果導入CSV文件(300,000多行,用「LOAD DATA INFILE ...」),從節點1所創建的表,節點2將不會看到任何變化。MariaDB的加萊拉Cluster數據同步
爲什麼節點2是不同步的,而從CSV文件導入行?
以下是下的/etc/my.cnf節點1的配置文件,節點2的配置僅僅是交換機的IP地址
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
[mariadb]
wsrep_cluster_address=gcomm://172.16.10.01
wsrep_provider=/usr/lib64/galera/libgalera_smm.so
wsrep_sst_auth=root:password
wsrep_node_address=172.16.10.02
log-error=/var/log/mysql.log
log_slave_updates=ON
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d