[MCOL-4301] cmapi: Active nodes should not be removable Created: 2020-09-08 Updated: 2021-02-20 Resolved: 2021-02-20 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cmapi |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Build tested: 1.5.4-1 (Drone #587), cmapi (Drone #251) With a 3-node cluster up and running and data spread over on all three local dbroots, I was able to remove a node (PM3) along with its dbroot. A query on existing table returned an error. MariaDB [tpch102]> select count Active node and data should not be easily removed. |
| Comments |
| Comment by Daniel Lee (Inactive) [ 2020-09-08 ] |
|
I added back the removed node, The system catalog (systable and syscolumn tables in calpontsys) is now empty and querying any previously existed data would return an error: MariaDB [mytest]> select * from quicktest; Further research showed that the newly added node (PM3) is now the master, PM1( use to be the master) is now a slave. [centos7:root~]# curl -k -s https://s2pm1:8640/cmapi/0.4.0/cluster/status \ , , , { "name": "WriteEngine", "pid": 23837 } ] , , , { "name": "WriteEngine", "pid": 18766 } ] , , , , , , { "name": "DDLProc", "pid": 16224 } ] |
| Comment by Todd Stoffel (Inactive) [ 2021-02-20 ] |
|
HA requires shared file system or S3. This is documented. |