Skip to content

[7.x] Preserve backing index ordering for data streams (#63749) #63903

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

Merged

Conversation

danhermann
Copy link
Contributor

The resolve index API incorrectly sorts the backing indices returned for data streams. The backing indices on a data stream are an ordered list in which the last index is always the write index so sorting them may produce incorrect results once migration of existing indices to data streams is permitted.

Backport of #63749

@danhermann danhermann added >bug :Data Management/Indices APIs APIs to create and manage indices and templates backport v7.11.0 labels Oct 19, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Oct 19, 2020
@danhermann danhermann merged commit b06c617 into elastic:7.x Oct 20, 2020
@danhermann danhermann deleted the backport_7x_63749_backing_index_ordering branch October 20, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >bug :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants