Getting "master not discovered or elected yet" causing cluster not up in version 7.1.0

I am still fighting with this cluster not able to form issue, I do have a related question. Where the last cluster state is saved at? I want to wipe out the history of cluster and start over from scratch.