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

[7.x] Apply can match phase on coordinator when the min max field data is available at the coordinator. #66319

Merged
merged 3 commits into from
Dec 15, 2020

Conversation

fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Dec 15, 2020

This commit introduces an optimization that allows skipping shards that
are not necessary directly on the coordinator for time based indices.
This is possible for frozen and searchable snapshots since those store
their min/max timestamp range in their IndexMetadata (introduced in #65689).
For indices that don't have that information available, the behaviour is
the same as it used to be.

Backport of #65583

…vailable at the coordinator.

This commit introduces an optimization that allows skipping shards that
are not necessary directly on the coordinator for time based indices.
This is possible for frozen and searchable snapshots since those store
their min/max timestamp range in their IndexMetadata (introduced in elastic#65689).
For indices that don't have that information available, the behaviour is
the same as it used to be.

Backport of elastic#65583
@fcofdez fcofdez added >enhancement :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs :Search/Search Search-related issues that do not fall into other categories backport Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. Team:Search Meta label for search team v7.11.0 labels Dec 15, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@fcofdez
Copy link
Contributor Author

fcofdez commented Dec 15, 2020

@elasticmachine run elasticsearch-ci/bwc

@fcofdez fcofdez merged commit 26caaa4 into elastic:7.x Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement :Search/Search Search-related issues that do not fall into other categories Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. Team:Search Meta label for search team v7.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants