-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Enable _tier based coordinator rewrites for all indices (not just mounted indices) #115797
Conversation
@elasticmachine update branch |
@elasticmachine update branch |
1 similar comment
@elasticmachine update branch |
@elasticmachine update branch |
Hi @andreidan, I've created a changelog YAML for you. |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
@elasticmachine update branch |
There are no new commits on the base branch. |
@elasticmachine update branch |
@elasticmachine update branch |
@elasticmachine update branch |
restarting test due to #116003 |
@elasticmachine run elasticsearch-ci/part-3 |
@elasticmachine update branch |
There are no new commits on the base branch. |
@elasticmachine update branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
@elasticmachine update branch |
💔 Backport failed
You can use sqren/backport to manually backport by running |
…nted indices) (elastic#115797) As part of elastic#114990 we enabled using the `_tier` field as part of the coordinator rewrite in order to skip shards that do not match a `_tier` filter, but only for fully/partially mounted indices. This PR enhances the previous work by allowing a coordinator rewrite to skip shards that will not match the `_tier` query for all indices (irrespective of their lifecycle state i.e. hot and warm indices can now skip shards based on the `_tier` query) Note however, that hot/warm indices will not automatically take advantage of the `can_match` coordinator rewrite (like read only indices do) but only the search requests that surpass the `pre_filter_shard_size` threshold will. Relates to [elastic#114910](elastic#114910) (cherry picked from commit 71dfb06) Signed-off-by: Andrei Dan <[email protected]>
…st mounted indices) (#115797) (#116076) * Enable _tier based coordinator rewrites for all indices (not just mounted indices) (#115797) As part of #114990 we enabled using the `_tier` field as part of the coordinator rewrite in order to skip shards that do not match a `_tier` filter, but only for fully/partially mounted indices. This PR enhances the previous work by allowing a coordinator rewrite to skip shards that will not match the `_tier` query for all indices (irrespective of their lifecycle state i.e. hot and warm indices can now skip shards based on the `_tier` query) Note however, that hot/warm indices will not automatically take advantage of the `can_match` coordinator rewrite (like read only indices do) but only the search requests that surpass the `pre_filter_shard_size` threshold will. Relates to [#114910](#114910) (cherry picked from commit 71dfb06) Signed-off-by: Andrei Dan <[email protected]> * Fix test compilation --------- Co-authored-by: Elastic Machine <[email protected]>
…nted indices) (elastic#115797) As part of elastic#114990 we enabled using the `_tier` field as part of the coordinator rewrite in order to skip shards that do not match a `_tier` filter, but only for fully/partially mounted indices. This PR enhances the previous work by allowing a coordinator rewrite to skip shards that will not match the `_tier` query for all indices (irrespective of their lifecycle state i.e. hot and warm indices can now skip shards based on the `_tier` query) Note however, that hot/warm indices will not automatically take advantage of the `can_match` coordinator rewrite (like read only indices do) but only the search requests that surpass the `pre_filter_shard_size` threshold will. Relates to [elastic#114910](elastic#114910)
As part of #114990 we enabled using the
_tier
field as part of the coordinator rewrite in order to skip
shards that do not match a
_tier
filter, but only forfully/partially mounted indices.
This PR enhances the previous work by allowing a coordinator
rewrite to skip shards that will not match the
_tier
query forall indices (irrespective of their lifecycle state i.e. hot and warm
indices can now skip shards based on the
_tier
query)Note however, that hot/warm indices will not automatically
take advantage of the
can_match
coordinator rewrite(like read only indices do) but only the search requests that
surpass the
pre_filter_shard_size
threshold will.Relates to #114910