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

Remove several uses of 6.x version constants #41162

Merged
merged 3 commits into from
Apr 19, 2019

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 12, 2019

This commit removes many conditionals in serialization, as well as tests
which no longer need to be compatible with 6.x now that master is 8.0.
Additionally, many tests are changed to not depend on a fixed version,
but instead use new helper methods for getting the range of index
compatible versions with the current version, which will make the tests
not need changes in the future when version constants are removed.

This commit removes many conditionals in serialization, as well as tests
which no longer need to be compatible with 6.x now that master is 8.0.
Additionally, many tests are changed to not depend on a fixed version,
but instead use new helper methods for getting the range of index
compatible versions with the current version, which will make the tests
not need changes in the future when version constants are removed.
@rjernst rjernst added >non-issue :Core/Infra/Core Core issues without another label v8.0.0 labels Apr 12, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rjernst
Copy link
Member Author

rjernst commented Apr 12, 2019

relates #41164

@talevy talevy self-requested a review April 15, 2019 16:57
Copy link
Contributor

@talevy talevy left a comment

Choose a reason for hiding this comment

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

thanks for kicking this off! I gave a pass and changes look reasonable.
Just left a few questions and comments

@rjernst
Copy link
Member Author

rjernst commented Apr 16, 2019

@talevy I pushed 18b4733, can you take another look?

Copy link
Contributor

@talevy talevy left a comment

Choose a reason for hiding this comment

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

LGTM

@rjernst rjernst merged commit 2d29807 into elastic:master Apr 19, 2019
@rjernst rjernst deleted the version_cleanup1 branch April 19, 2019 01:19
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
This commit removes many conditionals in serialization, as well as tests
which no longer need to be compatible with 6.x now that master is 8.0.
Additionally, many tests are changed to not depend on a fixed version,
but instead use new helper methods for getting the range of index
compatible versions with the current version, which will make the tests
not need changes in the future when version constants are removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants