Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cluster settings api to support acknowledgements #3995

Closed
javanna opened this Issue Oct 28, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@javanna
Copy link
Member

javanna commented Oct 28, 2013

Add support for acknowledgements from the other nodes to the update cluster settings api.
Add support for the timeout parameter in its requests, which refers to the maximum wait for acknowledgements (default 10s as in the other apis).
Add also support for the acknowledged flag in the response, which tells whether the request was acknowledged or not.

@ghost ghost assigned javanna Oct 28, 2013

javanna added a commit to javanna/elasticsearch that referenced this issue Oct 29, 2013

Added support for acknowledgements to update cluster settings api
As a side note, the internal reroute call is now part of the ack mechanism. That means that if the response contains acknowledged flag, the internal reroute that was eventually issued was acknowledged too. Also, even if the request is not acknowledged, the reroute is issued before returning, which means that there is no need to manually call reroute afterwards to make sure the new settings are immediately applied.

Closes elastic#3995

@javanna javanna closed this in 9e6fab3 Oct 29, 2013

javanna added a commit that referenced this issue Oct 29, 2013

Added support for acknowledgements to update cluster settings api
As a side note, the internal reroute call is now part of the ack mechanism. That means that if the response contains acknowledged flag, the internal reroute that was eventually issued was acknowledged too. Also, even if the request is not acknowledged, the reroute is issued before returning, which means that there is no need to manually call reroute afterwards to make sure the new settings are immediately applied.

Closes #3995

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Added support for acknowledgements to update cluster settings api
As a side note, the internal reroute call is now part of the ack mechanism. That means that if the response contains acknowledged flag, the internal reroute that was eventually issued was acknowledged too. Also, even if the request is not acknowledged, the reroute is issued before returning, which means that there is no need to manually call reroute afterwards to make sure the new settings are immediately applied.

Closes elastic#3995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.