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

Never wrap searcher for internal engine operations #14071

Merged
merged 1 commit into from
Oct 13, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Oct 12, 2015

there is no need to wrap the searcher for internal operations like version
checks for indexing. In-fact this can even lead to crazy bugs if the wrapper
filters documents that are updated etc. such that we end up with either duplicated docs
if create is used or we update wrong version under certain conditions.

Note: master doesn't have this particular problem since it wraps searchers on the IndexShard level

there is no need to wrap the searcher for internal operations like version
checks for indexing. In-fact this can even lead to crazy bugs if the wrapper
filters documents that are updated etc. such that we end up with either duplicated docs
if create is used or we update wrong version under certain conditions.
@rjernst
Copy link
Member

rjernst commented Oct 12, 2015

LGTM

s1monw added a commit that referenced this pull request Oct 13, 2015
Never wrap searcher for internal engine operations
@s1monw s1monw merged commit 0568bd6 into elastic:2.x Oct 13, 2015
@s1monw s1monw deleted the dont_wrap_on_internal branch October 13, 2015 09:53
s1monw added a commit to s1monw/elasticsearch that referenced this pull request Oct 13, 2015
Never wrap searcher for internal engine operations
s1monw added a commit that referenced this pull request Oct 13, 2015
Never wrap searcher for internal engine operations
@clintongormley clintongormley added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Engine :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. v2.0.0 v2.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants