Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Open/Close indices to support acknowledgement from other nodes #3400
The open/close index api currently returns back its response after the cluster state change has been digested by the master node, but the updated cluster state hasn't necessarily been published to all the nodes yet.
Add support for acknowledgement like we do with aliases. We wait for an ack from other nodes till the (configurable) timeout expires (default 10 seconds). The acknowledged flag in the response will reflect whether the cluster state change has been acknowledged by all the other nodes or not.