-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Bump Elasticsearch version to 9.0.0 #112570
Conversation
# Conflicts: # build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/LegacyYamlRestCompatTestPluginFuncTest.groovy
# Conflicts: # .buildkite/pipelines/intake.yml # .buildkite/pipelines/periodic.yml # .ci/snapshotBwcVersions
@elasticmachine update branch |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -286,7 +266,17 @@ public List<Version> getUnreleasedWireCompatible() { | |||
} | |||
|
|||
public Version getMinimumWireCompatibleVersion() { | |||
return MINIMUM_WIRE_COMPATIBLE_VERSION; | |||
// Determine minimum wire compatible version from list of known versions. | |||
// Current BWC policy states the minimum wire compatible version is the last minor release or the previous major version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo or -> of
.getUnreleased() | ||
.stream() | ||
.filter(v -> v.getMajor() == currentMajor - 1) | ||
.min(Comparator.reverseOrder()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
max(Comparator.naturalOrder())
is more understandable
(v('8.1.0')): new UnreleasedVersionInfo(v('8.1.0'), 'main', ':distribution') | ||
] | ||
bwc.wireCompatible == [v('7.17.0'), v('8.0.0'), v('8.1.0')] | ||
bwc.indexCompatible == osFiltered([v('7.14.0'), v('7.14.1'), v('7.14.2'), v('7.15.0'), v('7.15.1'), v('7.15.2'), v('7.16.0'), v('7.16.1'), v('7.16.2'), v('7.17.0'), v('8.0.0'), v('8.1.0')]) | ||
bwc.indexCompatible == [v('7.14.0'), v('7.14.1'), v('7.14.2'), v('7.15.0'), v('7.15.1'), v('7.15.2'), v('7.16.0'), v('7.16.1'), v('7.16.2'), v('7.17.0'), v('8.0.0'), v('8.1.0')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what's going on here, but I assume it's deliberate that indexCompatible /minWireCompatible is still referring to v7 versions
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
merge conflict between base and head |
…tion-ironbank-ubi * upstream/main: (302 commits) Deduplicate BucketOrder when deserializing (elastic#112707) Introduce test utils for ingest pipelines (elastic#112733) [Test] Account for auto-repairing for shard gen file (elastic#112778) Do not throw in task enqueued by CancellableRunner (elastic#112780) Mute org.elasticsearch.script.StatsSummaryTests testEqualsAndHashCode elastic#112439 Mute org.elasticsearch.repositories.blobstore.testkit.integrity.RepositoryVerifyIntegrityIT testTransportException elastic#112779 Use a dedicated test executor in MockTransportService (elastic#112748) Estimate segment field usages (elastic#112760) (Doc+) Inference Pipeline ignores Mapping Analyzers (elastic#112522) Fix verifyVersions task (elastic#112765) (Doc+) Terminating Exit Codes (elastic#112530) (Doc+) CAT Nodes default columns (elastic#112715) [DOCS] Augment installation warnings (elastic#112756) Mute org.elasticsearch.repositories.blobstore.testkit.integrity.RepositoryVerifyIntegrityIT testCorruption elastic#112769 Bump Elasticsearch to a minimum of JDK 21 (elastic#112252) ESQL: Compute support for filtering ungrouped aggs (elastic#112717) Bump Elasticsearch version to 9.0.0 (elastic#112570) add CDR related data streams to kibana_system priviliges (elastic#112655) Support widening of numeric types in union-types (elastic#112610) Introduce data stream options and failure store configuration classes (elastic#109515) ...
This is the initial work to bump the Elasticsearch version to 9.0 in preparation for our next major version release.
What this pull request includes
main
, the currentmain
will be branched to8.x
. Back compat testing will now checkout the8.x
branch for testing that snapshot version.8.16.0
. This is now determined dynamically based on known versions so no further changes should be necessary when8.x
is bumped to8.17
.8.x
branch. These are effectively identical to those inmain
so all existing rest compat overrides and transforms have been removed.V_8_0_0
and all references in tests to index versions earlier to this have either been removed, or the test muted. This should mean that we can start wiping out production references to these versions, or replace them with placeholders, without affecting tests.@UpdateForV9
for later investigation.What this pull request does not include
V_7_17_0
. This will be bumped in a follow up.V_8
. A constant has been added forV_9
but is not used. Also, the bootstrap check to ensure the current REST API version matches the current major version has been disabled. This will need to be re-enabled once the REST API version is incremented.Native ML code is still version 8.16.0. We do not yet have 9.0 snapshot builds of ml-cpp, so this will need to be updated in a follow up.(done in this PR)