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

Add index block api #58716

Merged
merged 6 commits into from
Jun 30, 2020
Merged

Add index block api #58716

merged 6 commits into from
Jun 30, 2020

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Jun 30, 2020

Backport of #58094

Adds an API for putting an index block in place, which also ensures for write blocks that, once successfully returning to
the user, all shards of the index are properly accounting for the block, for example that all in-flight writes to an index have
been completed after adding the write block.

This API allows coordinating more complex workflows, where it is crucial that an index is no longer receiving writes after
the API completes, useful for example when marking an index as read-only during an upgrade in order to reindex its
documents.
@ywelsch ywelsch changed the base branch from master to 7.x June 30, 2020 07:43
@ywelsch
Copy link
Contributor Author

ywelsch commented Jun 30, 2020

@elasticmachine update branch

@ywelsch
Copy link
Contributor Author

ywelsch commented Jun 30, 2020

@elasticmachine run elasticsearch-ci/2

@ywelsch ywelsch merged commit b885cbf into elastic:7.x Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants