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 setIfSeqNo(...) and setIfPrimaryTerm(...) for updating watch status if all nodes are at least on 6.7.0 #40888

Merged
merged 7 commits into from
Apr 11, 2019

Conversation

martijnvg
Copy link
Member

Otherwise fallback using UpdateRequest#version(...)

Closes #40841

…Term(...) for updating watch status if all nodes are at least on 6.7.0.

Otherwise fallback using UpdateRequest#version(...)

Closes elastic#40841
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@martijnvg
Copy link
Member Author

This PR is a draft, because I'm working on adding a test, that fails consistently without this change and passes with this change.

@martijnvg martijnvg marked this pull request as ready for review April 5, 2019 18:34
@martijnvg martijnvg requested a review from jakelandis April 5, 2019 18:34
@martijnvg
Copy link
Member Author

This PR is now ready for review. I think the test added in the PR gives better insight in when and how the bug occurs with this fix.

Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@martijnvg martijnvg merged commit b366fb9 into elastic:6.7 Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants