I have been reading your tutorial and I found this interesting link in the documentation that I think is related.
For what I understood, the idea is to force the old master node to perform the bootstrap process again. My problem now is that I am deploying the cluster with docker and when I try to execute cluster-node inside a container the following error is thrown:
bootstrap_crate-node.1.jqv6b8in47v3@ns305208 | Error: Could not find or load main class org.elasticsearch.cluster.coordination.NodeToolCli
bootstrap_crate-node.1.jqv6b8in47v3@ns305208 | Caused by: java.lang.ClassNotFoundException: org.elasticsearch.cluster.coordination.NodeToolCli
Do you know how can I execute crate-node inside a docker container? Am I doing something wrong?
This is the docker-compose file I’m using:
- target: 4200
- target: 4300
- target: 5432
command: ["crate-node", "unsafe-bootstrap"]
Thank you in advance