I had one node. I didnt delete data in first node. Then I deleted data from second and third nodes, try to add to first node cluster. But it created two clusters.
One with first node alone
Another with second and third node
Then again I deleted data folder from second node and restarted, it joined first node
I tried to do same for third node, so that it will join first-second node cluster. But it failed with below
[2022-03-05T06:31:15,463][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered or elected yet, an election requires 2 nodes with ids [P8UZyNN6QemAZx30yItePw, n33C65BCT8GZOftT3NJbPw], have discovered [{node-1}{n33C65BCT8GZOftT3NJbPw}{-IMxzqJjS5eob0cQ8TSwFQ}{...}{...:9300}{cdhilmrstw}{ml.machine_memory=3973865472, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}, {node-3}{P8UZyNN6QemAZx30yItePw}{hry-dnyWTwWd2pmstfPl-Q}{...}{...:9300}{cdhilmrstw}{ml.machine_memory=3878227968, ml.max_open_jobs=20, xpack.installed=true, transform.node=true}] which is a quorum; discovery will continue using [...:9300, ...:9300] from hosts providers and [{node-1}{n33C65BCT8GZOftT3NJbPw}{-IMxzqJjS5eob0cQ8TSwFQ}{...}{...:9300}{cdhilmrstw}{ml.machine_memory=3973865472, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
I deleted data folder for third node, but its not coming up.
Can someone please advice? Im on ELK 7.10.2