Today I've been trying to increase the storage of my elasticsearch nodes. The nodes are hosted on AWS EC2 each with an attached EBS of 10 GB. I was trying to increase the EBS size to 20GB for each node and it all went fine until I went and restarted the cluster master.
It took about 30 seconds for the cluster to elect a new master and during that time all requests failed and all the other node gave me the 503 error when I tried to check their status.
I am wondering if there is a way to change the cluster master to a specific node instantly without having to wait for the nodes to elect a new master.
For example, lets say my cluster has three nodes:
Node1 (Cluster Master)
What I would like to do is change the size of the drive for lets say Node2, then once that node joins the cluster and all shards get reallocated, I force elect it as the cluster master, then I can safely change the configuration for the other two nodes.
Is this possible in ES? If not, how can I go about reducing the time it takes for the nodes to elect a new master?