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

WIP: Index creation waits for write consistency shards #18759

Conversation

abeyad
Copy link

@abeyad abeyad commented Jun 7, 2016

Before returning, index creation now waits for the write consistency
number of shards to be available. An index can not take any indexing or
other replication operations without the write consistency level of
shards being available anyway, so waiting on the index creation response
in order for this condition to be met makes sense, and allows API users
to not depend on cluster health checks before attempting indexing
operations on the newly created index.

Relates #9126

Before returning, index creation now waits for the write consistency
number of shards to be available. An index can not take any indexing or
other replication operations without the write consistency level of
shards being available anyway, so waiting on the index creation response
in order for this condition to be met makes sense, and allows API users
to not depend on cluster health checks before attempting indexing
operations on the newly created index.
@abeyad
Copy link
Author

abeyad commented Jun 7, 2016

@bleskes @ywelsch I still need to add tests and fix broken tests, but just to get initial feedback.

brwe added a commit that referenced this pull request Jun 9, 2016
@nik9000 nik9000 mentioned this pull request Jun 14, 2016
@abeyad abeyad closed this Jun 16, 2016
@pmusa
Copy link
Contributor

pmusa commented Apr 25, 2017

see for the final PR #18985

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