Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
EC2 AWS 3 node cluster
-
2022-22
Description
In the latest version cs 22.08.x with cmpai 22.08.x
When losing a pm, selects continue fine on two nodes but the cluster doesnt shuffle to a 2 node cluster. Create table statments do not work during this lost pm timeframe.
Furthermore, when the 3rd PM does come back online, no selects work as the 3rd node is still part of the cluster but no subprocesses are online. until a manual mcsShutdown/mcsStart occurs.
steps to reproduce
Used ansible to setup 3 node nfs cluste with CS 22.08.X and cmapi 22.08.x |
|
create database test;
|
use test;
|
create table t1 ( a int) engine=columnstore; |
insert into t1 values(1); |
insert into t1 values(2); |
insert into t1 values(3); |
select * from t1;
|
exit
|
|
mcsStatus
|
|
# now shutdown node 3 |
|
mcsStatus # notice it doesnt work
|
{
|
"error": "Got an error retrieving status from node ip-172-31-27-124.us-west-2.compute.internal" |
}
|
|
mariadb test -e "select * from t1;"; # notice it works |
|
mariadb test -e "create table t2 ( a int) engine=columnstore;" # notice it doesnt work |
|
|
# start up node 3 node |
|
mcsStatus
|
|
# notice cs subprocesses are offline on node 3 |
|
mariadb test -e "select * from t1;"; # notice it fails and errors |