Skip to content

Commit ea93f90

Browse files
Merge branch 'main' into feature/logsdb-ignore-dynamic-beyond-limit
2 parents 6def51b + 160faa2 commit ea93f90

File tree

60 files changed

+666
-498
lines changed

Some content is hidden

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

60 files changed

+666
-498
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ public enum DockerBase {
2121
// The Iron Bank base image is UBI (albeit hardened), but we are required to parameterize the Docker build
2222
IRON_BANK("${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}", "-ironbank", "yum"),
2323

24-
// Base image with extras for Cloud
25-
CLOUD("ubuntu:20.04", "-cloud", "apt-get"),
26-
2724
// Chainguard based wolfi image with latest jdk
2825
// This is usually updated via renovatebot
2926
// spotless:off

distribution/docker/build.gradle

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -288,20 +288,6 @@ void addBuildDockerContextTask(Architecture architecture, DockerBase base) {
288288
}
289289
}
290290

291-
if (base == DockerBase.CLOUD) {
292-
// If we're performing a release build, but `build.id` hasn't been set, we can
293-
// infer that we're not at the Docker building stage of the build, and therefore
294-
// we should skip the beats part of the build.
295-
String buildId = providers.systemProperty('build.id').getOrNull()
296-
boolean includeBeats = VersionProperties.isElasticsearchSnapshot() == true || buildId != null || useDra
297-
298-
if (includeBeats) {
299-
from configurations.getByName("filebeat_${architecture.classifier}")
300-
from configurations.getByName("metricbeat_${architecture.classifier}")
301-
}
302-
// For some reason, the artifact name can differ depending on what repository we used.
303-
rename ~/((?:file|metric)beat)-.*\.tar\.gz$/, "\$1-${VersionProperties.elasticsearch}.tar.gz"
304-
}
305291
Provider<DockerSupportService> serviceProvider = GradleUtils.getBuildService(
306292
project.gradle.sharedServices,
307293
DockerSupportPlugin.DOCKER_SUPPORT_SERVICE_NAME
@@ -381,7 +367,7 @@ private static List<String> generateTags(DockerBase base, Architecture architect
381367
String image = "elasticsearch${base.suffix}"
382368

383369
String namespace = 'elasticsearch'
384-
if (base == DockerBase.CLOUD || base == DockerBase.CLOUD_ESS) {
370+
if (base == base == DockerBase.CLOUD_ESS) {
385371
namespace += '-ci'
386372
}
387373

@@ -439,7 +425,7 @@ void addBuildDockerImageTask(Architecture architecture, DockerBase base) {
439425

440426
}
441427

442-
if (base != DockerBase.IRON_BANK && base != DockerBase.CLOUD && base != DockerBase.CLOUD_ESS) {
428+
if (base != DockerBase.IRON_BANK && base != DockerBase.CLOUD_ESS) {
443429
tasks.named("assemble").configure {
444430
dependsOn(buildDockerImageTask)
445431
}
@@ -548,21 +534,16 @@ subprojects { Project subProject ->
548534
base = DockerBase.IRON_BANK
549535
} else if (subProject.name.contains('cloud-ess-')) {
550536
base = DockerBase.CLOUD_ESS
551-
} else if (subProject.name.contains('cloud-')) {
552-
base = DockerBase.CLOUD
553-
} else if (subProject.name.contains('wolfi-ess')) {
554-
base = DockerBase.WOLFI_ESS
555537
} else if (subProject.name.contains('wolfi-')) {
556538
base = DockerBase.WOLFI
557539
}
558540

559541
final String arch = architecture == Architecture.AARCH64 ? '-aarch64' : ''
560542
final String extension = base == DockerBase.UBI ? 'ubi.tar' :
561543
(base == DockerBase.IRON_BANK ? 'ironbank.tar' :
562-
(base == DockerBase.CLOUD ? 'cloud.tar' :
563544
(base == DockerBase.CLOUD_ESS ? 'cloud-ess.tar' :
564545
(base == DockerBase.WOLFI ? 'wolfi.tar' :
565-
'docker.tar'))))
546+
'docker.tar')))
566547
final String artifactName = "elasticsearch${arch}${base.suffix}_test"
567548

568549
final String exportTaskName = taskName("export", architecture, base, 'DockerImage')

distribution/docker/cloud-docker-aarch64-export/build.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.

distribution/docker/cloud-docker-export/build.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.

distribution/docker/wolfi-ess-docker-aarch64-export/build.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.

distribution/docker/wolfi-ess-docker-export/build.gradle

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/changelog/115117.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 115117
2+
summary: Report JVM stats for all memory pools (97046)
3+
area: Infra/Core
4+
type: bug
5+
issues:
6+
- 97046

docs/changelog/115393.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pr: 115393
2+
summary: Remove deprecated local attribute from alias APIs
3+
area: Indices APIs
4+
type: breaking
5+
issues: []
6+
breaking:
7+
title: Remove deprecated local attribute from alias APIs
8+
area: REST API
9+
details: >-
10+
The following APIs no longer accept the `?local` query parameter:
11+
`GET /_alias`, `GET /_aliases`, `GET /_alias/{name}`,
12+
`HEAD /_alias/{name}`, `GET /{index}/_alias`, `HEAD /{index}/_alias`,
13+
`GET /{index}/_alias/{name}`, `HEAD /{index}/_alias/{name}`,
14+
`GET /_cat/aliases`, and `GET /_cat/aliases/{alias}`. This parameter
15+
has been deprecated and ignored since version 8.12.
16+
impact: >-
17+
Cease usage of the `?local` query parameter when calling the listed APIs.
18+
notable: false

docs/changelog/115399.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
pr: 115399
2+
summary: Adding breaking change entry for retrievers
3+
area: Search
4+
type: breaking
5+
issues: []
6+
breaking:
7+
title: Reworking RRF retriever to be evaluated during rewrite phase
8+
area: REST API
9+
details: |-
10+
In this release (8.16), we have introduced major changes to the retrievers framework
11+
and how they can be evaluated, focusing mainly on compound retrievers
12+
like `rrf` and `text_similarity_reranker`, which allowed us to support full
13+
composability (i.e. any retriever can be nested under any compound retriever),
14+
as well as supporting additional search features like collapsing, explaining,
15+
aggregations, and highlighting.
16+
17+
To ensure consistency, and given that this rework is not available until 8.16,
18+
`rrf` and `text_similarity_reranker` retriever queries would now
19+
throw an exception in a mixed cluster scenario, where there are nodes
20+
both in current or later (i.e. >= 8.16) and previous ( <= 8.15) versions.
21+
22+
As part of the rework, we have also removed the `_rank` property from
23+
the responses of an `rrf` retriever.
24+
impact: |-
25+
- Users will not be able to use the `rrf` and `text_similarity_reranker` retrievers in a mixed cluster scenario
26+
with previous releases (i.e. prior to 8.16), and the request will throw an `IllegalArgumentException`.
27+
- `_rank` has now been removed from the output of the `rrf` retrievers so trying to directly parse the field
28+
will throw an exception
29+
notable: false

docs/changelog/115429.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 115429
2+
summary: "[otel-data] Add more kubernetes aliases"
3+
area: Data streams
4+
type: bug
5+
issues: []

0 commit comments

Comments
 (0)