如题,Mariadb Columnstore版本为:Server version: 10.1.21-MariaDB Columnstore 1.0.7-1
#cat /etc/hosts
192.168.75.33 um1 192.168.75.34 um2 192.168.75.35 pm1 192.168.75.36 pm2 192.168.75.37 pm3 192.168.75.38 pm4 |
a.依次关掉pm4->数据库正常访问->关掉pm3->数据库正常访问->关掉pm2->数据库访问不到数据
b.只关掉pm1->数据库执行select阻塞
阻塞(后面用ctrl+c杀死了):
MariaDB [test]> select * from test1; ^CCtrl-C -- query killed. Continuing normally. |
并且报错:
mcsadmin> getsysteminfo getsysteminfo Wed Feb 22 12:52:46 2017 System columnstore-1 System and Module statuses Component Status Last Status Change ------------ -------------------------- ------------------------ **** printSystemStatus Failed = API Failure return in getSystemStatus:MessageQueueClient-Error API |
综上:目前Mariadb Columnstore版本故障切换还有些不健全,至少要保证pm1是好的,并且有两台以上pm存活。