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

Skip CAS deprecation tests until all nodes upgraded #42974

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jun 7, 2019

After we moved CAS deprecation check to TransportShardBulkAction (#42641), a mixed cluster consisting of 6.7 and 6.8.1 nodes can issue two deprecation warnings for versioning write requests. The way we deduplicate response headers does not work for warning headers from different versions (maybe we need to improve this?). This commit skips CAS deprecation tests until all nodes on 6.8.1+.

An alternative option is to make DoSection.checkWarningHeaders more lenient to accept duplicated warnings (maybe only CAS warnings).

Some CI instances:

@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v6.8.1 labels Jun 7, 2019
@dnhatn dnhatn requested a review from ywelsch June 7, 2019 03:18
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM

@dnhatn
Copy link
Member Author

dnhatn commented Jun 7, 2019

Thanks @ywelsch.

@dnhatn dnhatn merged commit 16ac3b7 into elastic:6.8 Jun 7, 2019
@dnhatn dnhatn deleted the skip-cas-until-upgraded branch June 7, 2019 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >test Issues or PRs that are addressing/adding tests v6.8.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants