Skip to content

Always return false from refreshNeeded on ReadOnlyEngine #35837

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
merged 4 commits into from
Nov 24, 2018

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Nov 22, 2018

Acquiring a searcher is unnecessary to determine if a refresh is
necessary since read-only engines never refresh.

Closes #35785

Acquiring a searcher is unnecessary to determin if a refresh is
necessary since read-only engines never refresh.

Closes elastic#35785
@s1monw s1monw added >enhancement v7.0.0 :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. v6.6.0 labels Nov 22, 2018
@s1monw s1monw requested a review from jpountz November 22, 2018 21:11
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@s1monw
Copy link
Contributor Author

s1monw commented Nov 23, 2018

@elasticmachine test this please

@s1monw s1monw merged commit 4711c5c into elastic:master Nov 24, 2018
@s1monw s1monw deleted the no_refresh_on_read_only branch November 24, 2018 08:25
s1monw added a commit that referenced this pull request Nov 24, 2018
Acquiring a searcher is unnecessary to determine if a refresh is
necessary since read-only engines never refresh.

Closes #35785
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. >enhancement v6.6.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants