I have setup a cluster with disk based tables, with 2 datanodes ,one mgmt , and 2 sql nodes.
Cluster is working fine... So I just wanted to test its HA , so I manually killed one datanode with KILL command at a linux prompt and I connected to sql nodes and inserted some records into a table.
I then tried to start datanode which I killed with this command
bin/ndbd without using any --initial
When I see the logs on managmnt node it shows the below error and data node is not starting:
/Node 3: Forced node shutdown completed. Occurred during startphase 5. Caused by error 2355: 'Failure to restore schema(Resource configuration error). Permanent error, external action needed'.
But when I use --initial it starts then it means to do a clean start from start (which will be time consuming to copy all the data files what if we have 100G ?)
But I want the data node to start copying the record from the point it stopped (killed)
How do I do this?