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

Use IndexWriter.hasPendingChanges() to detect if a flush is needed. #12146

Merged
merged 1 commit into from Jul 9, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Jul 9, 2015

This is required to ensure we flush the indexwriter / commit all changes
even if no docs are indexed. This is important if a merge happend after
the last flush and no further docs have been added. Otherwise merges
will not be committed if no docs where added/updated/deleted.

This is equivalent to what master does today.

Closes #12134

This is required to ensure we flush the indexwriter / commit all changes
even if no docs are indexed. This is important if a merge happend after
the last flush and no further docs have been added. Otherwise merges
will not be committed if no docs where added/updated/deleted.

This is equivalent to what master does today.

Closes elastic#12134
@mikemccand
Copy link
Contributor

LGTM

@s1monw s1monw merged commit 8aa34ea into elastic:1.x Jul 9, 2015
@s1monw s1monw deleted the issues/12134 branch July 9, 2015 09:52
@clintongormley clintongormley added the :Data Management/Indices APIs APIs to create and manage indices and templates label Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Indices APIs APIs to create and manage indices and templates v1.6.1 v1.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants