Skip to content

Commit 2f89f4a

Browse files
committed
Merge branch 'main' into lucene_snapshot
2 parents d85e306 + e7a4436 commit 2f89f4a

File tree

250 files changed

+6940
-3412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+6940
-3412
lines changed

.buildkite/pipelines/periodic-packaging.template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
- rhel-8
1919
- rhel-9
2020
- almalinux-8
21+
- almalinux-9
2122
agents:
2223
provider: gcp
2324
image: family/elasticsearch-{{matrix.image}}

.buildkite/pipelines/periodic-packaging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ steps:
1919
- rhel-8
2020
- rhel-9
2121
- almalinux-8
22+
- almalinux-9
2223
agents:
2324
provider: gcp
2425
image: family/elasticsearch-{{matrix.image}}

.buildkite/pipelines/periodic-platform-support.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
- rhel-8
1919
- rhel-9
2020
- almalinux-8
21+
- almalinux-9
2122
agents:
2223
provider: gcp
2324
image: family/elasticsearch-{{matrix.image}}

.buildkite/pipelines/pull-request/packaging-tests-unix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ steps:
2121
- rhel-8
2222
- rhel-9
2323
- almalinux-8
24+
- almalinux-9
2425
PACKAGING_TASK:
2526
- docker
2627
- docker-cloud-ess

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,20 @@ private List<Version> getReleased() {
252252
.toList();
253253
}
254254

255+
public List<Version> getReadOnlyIndexCompatible() {
256+
// Lucene can read indices in version N-2
257+
int compatibleMajor = currentVersion.getMajor() - 2;
258+
return versions.stream().filter(v -> v.getMajor() == compatibleMajor).sorted(Comparator.naturalOrder()).toList();
259+
}
260+
261+
public void withLatestReadOnlyIndexCompatible(Consumer<Version> versionAction) {
262+
var compatibleVersions = getReadOnlyIndexCompatible();
263+
if (compatibleVersions == null || compatibleVersions.isEmpty()) {
264+
throw new IllegalStateException("No read-only compatible version found.");
265+
}
266+
versionAction.accept(compatibleVersions.getLast());
267+
}
268+
255269
/**
256270
* Return versions of Elasticsearch which are index compatible with the current version.
257271
*/

docs/changelog/117583.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
pr: 117583
2+
summary: Removing index alias creation for deprecated transforms notification index
3+
area: Machine Learning
4+
type: deprecation
5+
issues: []
6+
deprecation:
7+
title: Removing index alias creation for deprecated transforms notification index
8+
area: Transform
9+
details: >-
10+
As part of the migration from 7.x to 8.x, the `.data-frame-notifications-1` index
11+
was deprecated and replaced with the `.transform-notifications-000002` index.
12+
The index is no longer created by default, all writes are directed to the new index,
13+
and any clusters with the deprecated index will have an alias created to ensure that
14+
reads are still retrieving data that was written to the index before the migration to 8.x.
15+
This change removes the alias from the deprecated index in 9.x. Any clusters with the alias present
16+
will retain it, but it will not be created on new clusters.
17+
impact: No known end user impact.

docs/changelog/117840.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 117840
2+
summary: Fix timeout ingesting an empty string into a `semantic_text` field
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/changelog/117939.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 117939
2+
summary: Adding default endpoint for Elastic Rerank
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

docs/changelog/118103.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
pr: 118103
2+
summary: "Remove any references to org.elasticsearch.core.RestApiVersion#V_7"
3+
area: Infra/Core
4+
type: breaking
5+
issues: []
6+
breaking:
7+
title: "Remove any references to org.elasticsearch.core.RestApiVersion#V_7"
8+
area: REST API
9+
details: "This PR removes all references to V_7 in the Rest API. V7 features marked for deprecation have been removed."
10+
impact: "This change is breaking for any external plugins/clients that rely on the V_7 enum or deprecated version 7 functionality"
11+
notable: false

docs/changelog/118375.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 118375
2+
summary: Check for presence of error object when validating streaming responses from integrations in the inference API
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

0 commit comments

Comments
 (0)