Skip to content

Commit a6783a2

Browse files
Merge branch 'main' into 2025/07/28/write-load-decider
2 parents 7ce1e59 + 2f68ab1 commit a6783a2

File tree

66 files changed

+1109
-217
lines changed

Some content is hidden

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

66 files changed

+1109
-217
lines changed

distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli/APMJvmOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ static Path findAgentJar(String installDir) throws IOException, UserException {
329329

330330
try (var apmStream = Files.list(apmModule)) {
331331
final List<Path> paths = apmStream.filter(
332-
path -> path.getFileName().toString().matches("elastic-apm-agent-\\d+\\.\\d+\\.\\d+\\.jar")
332+
path -> path.getFileName().toString().matches("elastic-apm-agent-java8-\\d+\\.\\d+\\.\\d+\\.jar")
333333
).toList();
334334

335335
if (paths.size() > 1) {

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/APMJvmOptionsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private Path makeFakeAgentJar() throws IOException {
141141
Path tempFile = createTempFile();
142142
Path apmPathDir = tempFile.getParent().resolve("modules").resolve("apm");
143143
Files.createDirectories(apmPathDir);
144-
Path apmAgentFile = apmPathDir.resolve("elastic-apm-agent-0.0.0.jar");
144+
Path apmAgentFile = apmPathDir.resolve("elastic-apm-agent-java8-0.0.0.jar");
145145
Files.move(tempFile, apmAgentFile);
146146

147147
return tempFile.getParent();

docs/changelog/132131.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pr: 132131
2+
summary: Updating `TransportSimulateIndexTemplateAction.resolveTemplate()` to account
3+
for data stream overrides
4+
area: Indices APIs
5+
type: bug
6+
issues:
7+
- 131425

docs/changelog/132546.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132546
2+
summary: Improve EIS auth call logs and fix revocation bug
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/changelog/132651.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132651
2+
summary: Use java8 variant of apm-agent
3+
area: Infra/Core
4+
type: upgrade
5+
issues: []

docs/release-notes/known-issues.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,28 @@ mapped_pages:
88

99
Known issues are significant defects or limitations that may impact your implementation. These issues are actively being worked on and will be addressed in a future release. Review the Elasticsearch known issues to help you make informed decisions, such as upgrading to a new version.
1010

11+
## 9.1.1 [elasticsearch-9.1.1-known-issues]
12+
13+
* An [optimization](https://github.com/elastic/elasticsearch/pull/125403) introduced in 9.1.0 contains a [bug](https://github.com/elastic/elasticsearch/pull/132597) that causes merges to fail for shrunk TSDB and LogsDB indices.
14+
15+
Possible *temporary* workarounds include:
16+
* Configure the ILM policy to not perform force merges after shrinking TSDB or LogsDB indices.
17+
* Add `-Dorg.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesConsumer.enableOptimizedMerge=false` as a Java system property to all data nodes in the cluster and perform a rolling restart.
18+
* *Important:* Remove this property when upgrading to the fixed version to re-enable merge optimization. Otherwise, merges will be slower.
19+
20+
The bug is addressed in version 9.1.2.
21+
1122
## 9.1.0 [elasticsearch-9.1.0-known-issues]
1223

24+
* An [optimization](https://github.com/elastic/elasticsearch/pull/125403) introduced in 9.1.0 contains a [bug](https://github.com/elastic/elasticsearch/pull/132597) that causes merges to fail for shrunk TSDB and LogsDB indices.
25+
26+
Possible *temporary* workarounds include:
27+
* Configure the ILM policy to not perform force merges after shrinking TSDB or LogsDB indices.
28+
* Add `-Dorg.elasticsearch.index.codec.tsdb.es819.ES819TSDBDocValuesConsumer.enableOptimizedMerge=false` as a Java system property to all data nodes in the cluster and perform a rolling restart.
29+
* *Important:* Remove this property when upgrading to the fixed version to re-enable merge optimization. Otherwise, merges will be slower.
30+
31+
The bug is addressed in version 9.1.2.
32+
1333
* The `-Dvector.rescoring.directio` JVM option is enabled (set to `true`) by default. When used with `bbq_hnsw` type vector indices, this can cause significant search performance degradation; particularly when enough memory is available to hold all vector data. In some cases, kNN search latency can increase by as much as 10x. To mitigate this, set the JVM option `-Dvector.rescoring.directio=false` on all search nodes and restart them. This option can be removed in 9.1.1.
1434

1535
**How do I know if my index vector type is `bbq_hnsw`?**

gradle/verification-metadata.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
<sha256 value="10fe288fd7a2cdaf5175332b73529f9abf8fd54dcfff317d6967c0c35ffb133b" origin="Generated by Gradle"/>
7777
</artifact>
7878
</component>
79-
<component group="co.elastic.apm" name="elastic-apm-agent" version="1.55.0">
80-
<artifact name="elastic-apm-agent-1.55.0.jar">
81-
<sha256 value="3cbba96a64593c14568399dbc816fc36a5647e39449e1d4cf1eedce9880a9d3e" origin="Generated by Gradle"/>
79+
<component group="co.elastic.apm" name="elastic-apm-agent-java8" version="1.55.0">
80+
<artifact name="elastic-apm-agent-java8-1.55.0.jar">
81+
<sha256 value="a4f3ae98e180dd5138cc8c719889366fe7d3afcecdb618da6db0b144a1717ac8" origin="Generated by Gradle"/>
8282
</artifact>
8383
</component>
8484
<component group="co.elastic.logging" name="ecs-logging-core" version="1.2.0">

modules/apm/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
implementation "io.opentelemetry:opentelemetry-api:${otelVersion}"
2121
implementation "io.opentelemetry:opentelemetry-context:${otelVersion}"
2222
implementation "io.opentelemetry:opentelemetry-semconv:${otelSemconvVersion}"
23-
runtimeOnly "co.elastic.apm:elastic-apm-agent:1.55.0"
23+
runtimeOnly "co.elastic.apm:elastic-apm-agent-java8:1.55.0"
2424

2525
javaRestTestImplementation project(':modules:apm')
2626
javaRestTestImplementation project(':test:framework')

0 commit comments

Comments
 (0)