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

Implements delete index with query parameters #103

Merged
merged 2 commits into from
Dec 7, 2022

Conversation

UyumazHakan
Copy link
Contributor

@UyumazHakan UyumazHakan commented Nov 23, 2022

When there is a huge index, the default ack timeout is not enough to all nodes acknowledge delete operation. It returns false ack. However, the indices are deleted after a while. This is not useful when we need to know when the index is deleted.

So, I added DeleteIndexWithQueryParameters to be able to set query parameters such as timeout. With this, developers can increase the timeout to have a acknowledge:true with higher timeout.

Copy link
Contributor

@hugodorea hugodorea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@UyumazHakan great job on this one and thanks for putting it together! I left some comments for you. Let me know if that makes sense!

es.go Outdated Show resolved Hide resolved
es.go Outdated Show resolved Hide resolved
Copy link
Contributor

@hugodorea hugodorea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@UyumazHakan UyumazHakan merged commit a7e2e17 into main Dec 7, 2022
@UyumazHakan UyumazHakan deleted the uyumazhakan/add-delete-index-with-query-params branch December 7, 2022 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants