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

Only try to read new segments info if we really flushed the index #20474

Merged
merged 1 commit into from
Sep 14, 2016

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Sep 14, 2016

There is no reason to read the current segments info unless we flushed
/ committed the lucene index.

There is no reason to read the current segments info unless we flushed
/ committed the lucene index.
@nik9000
Copy link
Member

nik9000 commented Sep 14, 2016

LGTM

@bleskes
Copy link
Contributor

bleskes commented Sep 14, 2016

LGTM2 , but why is this needed? was there a test failure?

@s1monw
Copy link
Contributor Author

s1monw commented Sep 14, 2016

@bleskes I just ran into it while debugging a test that's all

@s1monw s1monw merged commit c1e8461 into elastic:master Sep 14, 2016
s1monw added a commit that referenced this pull request Sep 14, 2016
…0474)

There is no reason to read the current segments info unless we flushed
/ committed the lucene index.
s1monw added a commit that referenced this pull request Sep 14, 2016
…0474)

There is no reason to read the current segments info unless we flushed
/ committed the lucene index.
@clintongormley clintongormley added :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Engine :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. labels Feb 13, 2018
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 v5.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants