Skip to content

Always return false from refreshNeeded on ReadOnlyEngine#35837

Merged
s1monw merged 4 commits intoelastic:masterfrom
s1monw:no_refresh_on_read_only
Nov 24, 2018
Merged

Always return false from refreshNeeded on ReadOnlyEngine#35837
s1monw merged 4 commits intoelastic:masterfrom
s1monw:no_refresh_on_read_only

Conversation

@s1monw
Copy link
Copy Markdown
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/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
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@s1monw
Copy link
Copy Markdown
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/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