Hi,
I know the memsql-ops are deprecated from 6.7 but then we are advised from the memsql team that we can still use memsql-ops for sometime.
After upgrading memsql from 5.x to 6.x and registering the nodes, I am getting a strange errors using memsql-ops commands as show below.
Example 1:
I am trying to stop the leaf node, but the error shows it is already stopped.
[root@ip-10-251-40-73 master-43306-MIf274ff1e]# memsql-admin list-nodes
±-----------±-------±----------±------±--------------±-------------±--------±---------------±-------------------+
| MemSQL ID | Role | Host | Port | Process State | Connectable? | Version | Recovery State | Availability Group |
±-----------±-------±----------±------±--------------±-------------±--------±---------------±-------------------+
| B4C9F4EB9C | Master | 127.0.0.1 | 43306 | Running | True | 6.7.18 | Online | |
| 352191F3B8 | Leaf | 127.0.0.1 | 43307 | Running | True | 6.7.18 | Online | 1 |
±-----------±-------±----------±------±--------------±-------------±--------±---------------±-------------------+
[root@ip-10-251-40-73 master-43306-MIf274ff1e]# memsql-ops memsql-stop
Index ID Agent Id Process State Cluster State Role Host Port Version
1 B4C9F4E Aa3e2cc RUNNING CONNECTED MASTER 127.0.0.1 43306 6.7.18
2 352191F Aa3e2cc RUNNING CONNECTED LEAF 127.0.0.1 43307 6.7.18
3 All MemSQL nodes
Select an option: 2
2019-05-29 08:59:56: J146e53 [INFO] Stopping MemSQL node 352191F3B84627A71FB56009232CBA5A552ABF28 on Agent Aa3e2ccd00cb24c36a528f875121bb918
2019-05-29 08:59:56: J146e53 [INFO] MemSQL node 352191F3B84627A71FB56009232CBA5A552ABF28 is already stopped
Example 2:
memsql-ops memsql-start also seems not working as intended as show below
[root@ip-10-251-40-73 master-43306-MIf274ff1e]# memsql-ops memsql-start
Index ID Agent Id Process State Cluster State Role Host Port Version
1 B4C9F4E Aa3e2cc RUNNING CONNECTED MASTER 127.0.0.1 43306 6.7.18
2 352191F Aa3e2cc NOT RUNNING OFFLINE LEAF 127.0.0.1 43307 6.7.18
3 All MemSQL nodes
Select an option: 3
Starting cluster
MemSQL node 352191F3B84627A71FB56009232CBA5A552ABF28 failed to start: Failed to start MemSQL: Could not retrieve MemSQL ID: [Errno 2] No such file or directory: ‘data/memsql_id’
Is this an expected behaviour since the tool is deprecated?