Skip to content

Fix refresh optimization for realtime get in mixed cluster #48151

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 1 commit into from
Oct 16, 2019

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Oct 16, 2019

We might not have sequence numbers in a mixed cluster between 6.8 and 5.6. In this case, we should refresh unconditionally; otherwise, we can apply the refresh optimization. An alternative is to use translog locations instead of the local checkpoint for this optimization.

Closes #48114

@dnhatn dnhatn added >bug :Distributed Indexing/Engine Anything around managing Lucene and the Translog in an open shard. v6.8.5 labels Oct 16, 2019
@dnhatn dnhatn requested a review from ywelsch October 16, 2019 16:56
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Engine)

@dnhatn dnhatn changed the title Fix refresh optimization for realtime gets in mixed cluster Fix refresh optimization for realtime get in mixed cluster Oct 16, 2019
@dnhatn
Copy link
Member Author

dnhatn commented Oct 16, 2019

Thanks @ywelsch.

@dnhatn dnhatn merged commit 269e9ba into elastic:6.8 Oct 16, 2019
@dnhatn dnhatn deleted the fix-refresh-get branch October 16, 2019 22:12
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. v6.8.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants