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

Return true for can_match on idle search shards (#55428) #57158

Merged
merged 5 commits into from
May 27, 2020

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented May 26, 2020

Backport of #55428

With this change, we will always return true for can_match requests on
idle search shards; otherwise, some shards will never get refreshed if
all search requests perform the can_match phase (i.e., total shards >
pre_filter_shard_size).

Relates elastic#27500
Relates elastic#50043
@jimczi jimczi merged commit 9798f74 into elastic:7.7 May 27, 2020
@jimczi jimczi deleted the backport_55428 branch May 27, 2020 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants