Skip to content

Commit c03ef46

Browse files
Merge branch 'main' into pushdown-roundto
2 parents 9afab26 + a900dd9 commit c03ef46

File tree

96 files changed

+1943
-452
lines changed

Some content is hidden

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

96 files changed

+1943
-452
lines changed

distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Extract Elasticsearch artifact
2525
################################################################################
2626
27-
FROM docker.elastic.co/wolfi/chainguard-base-fips:latest@sha256:4a8fe3e7390fcf11a88b216b4608f1db322c327e801898386808551ebbdc7523 AS builder
27+
FROM docker.elastic.co/wolfi/chainguard-base-fips:latest@sha256:de86625bff090556db9e4c48b8f84b702391c8b2e0ca08f3e331235e010b9a39 AS builder
2828
2929
# Install required packages to extract the Elasticsearch distribution
3030
RUN <%= retry.loop(package_manager, "export DEBIAN_FRONTEND=noninteractive && ${package_manager} update && ${package_manager} update && ${package_manager} add --no-cache curl") %>
@@ -103,7 +103,7 @@ WORKDIR /usr/share/elasticsearch/config
103103
# Add entrypoint
104104
################################################################################
105105

106-
FROM docker.elastic.co/wolfi/chainguard-base-fips:latest@sha256:4a8fe3e7390fcf11a88b216b4608f1db322c327e801898386808551ebbdc7523
106+
FROM docker.elastic.co/wolfi/chainguard-base-fips:latest@sha256:de86625bff090556db9e4c48b8f84b702391c8b2e0ca08f3e331235e010b9a39
107107

108108
RUN <%= retry.loop(package_manager,
109109
"export DEBIAN_FRONTEND=noninteractive && \n" +

distribution/docker/src/docker/dockerfiles/wolfi/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Extract Elasticsearch artifact
2525
################################################################################
2626
27-
FROM docker.elastic.co/wolfi/chainguard-base:latest@sha256:442a5663000b3d66d565e61d400b30a4638383a72d90494cfc3104b34dfb3211 AS builder
27+
FROM docker.elastic.co/wolfi/chainguard-base:latest@sha256:661355310ab9ecc86082d247341881eb272853eb8fe4c91e53e02f0f2e30fb2c AS builder
2828
2929
# Install required packages to extract the Elasticsearch distribution
3030
RUN <%= retry.loop(package_manager, "export DEBIAN_FRONTEND=noninteractive && ${package_manager} update && ${package_manager} update && ${package_manager} add --no-cache curl") %>
@@ -79,7 +79,7 @@ RUN sed -i -e 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' bin/elas
7979
# Add entrypoint
8080
################################################################################
8181

82-
FROM docker.elastic.co/wolfi/chainguard-base:latest@sha256:442a5663000b3d66d565e61d400b30a4638383a72d90494cfc3104b34dfb3211
82+
FROM docker.elastic.co/wolfi/chainguard-base:latest@sha256:661355310ab9ecc86082d247341881eb272853eb8fe4c91e53e02f0f2e30fb2c
8383

8484
RUN <%= retry.loop(package_manager,
8585
"export DEBIAN_FRONTEND=noninteractive && \n" +

docs/changelog/132597.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132597
2+
summary: Use local segment `fieldInfos` to lookup tsdb merge stats
3+
area: Codec
4+
type: bug
5+
issues: []

docs/release-notes/breaking-changes.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ If you are migrating from a version prior to version 9.0, you must first upgrade
1212

1313
% ## Next version [elasticsearch-nextversion-breaking-changes]
1414

15-
```{applies_to}
16-
stack: coming 9.1.1
17-
```
1815
## 9.1.1 [elasticsearch-9.1.1-breaking-changes]
1916

2017
There are no breaking changes associated with this release.

docs/release-notes/changelog-bundles/9.1.1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 9.1.1
2-
released: false
3-
generated: 2025-08-06T08:42:03.230079779Z
2+
released: true
3+
generated: 2025-08-07T10:37:38.264033861Z
44
changelogs:
55
- pr: 130279
66
summary: Fix missing removal of query cancellation callback in QueryPhase

docs/release-notes/deprecations.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ To give you insight into what deprecated features you’re using, {{es}}:
1616

1717
% ## Next version [elasticsearch-nextversion-deprecations]
1818

19-
```{applies_to}
20-
stack: coming 9.1.1
21-
```
2219
## 9.1.1 [elasticsearch-9.1.1-deprecations]
2320

2421
There are no deprecations associated with this release.

docs/release-notes/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ To check for security updates, go to [Security announcements for the Elastic sta
2121
% *
2222

2323
## 9.1.1 [elasticsearch-9.1.1-release-notes]
24-
```{applies_to}
25-
stack: coming 9.1.1
26-
```
2724

2825
### Fixes [elasticsearch-9.1.1-fixes]
2926

docs/release-notes/known-issues.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ mapped_pages:
55
---
66

77
# Elasticsearch known issues [elasticsearch-known-issues]
8+
89
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.
910

1011
## 9.1.0 [elasticsearch-9.1.0-known-issues]
11-
* An error in the configuration of vector indices with type `bbq_hnsw` may lead to significant search performance degradation on 9.1.0. To mitigate this, set the `-Dvector.rescoring.directio=false` JVM option on all search nodes, then restart the nodes.
12-
This option can be removed in 9.1.1.
12+
13+
* 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.
14+
15+
**How do I know if my index vector type is `bbq_hnsw`?**
16+
17+
* Prior to 9.1, the vector type had to be explicitly set to `bbq_hnsw`. Starting with 9.1, `bbq_hnsw` is the default vector type for dense vectors with more than 384 dimensions in new indices, unless another type is specified.
1318

1419
## 9.0.3 [elasticsearch-9.0.3-known-issues]
20+
1521
* A bug in the merge scheduler in Elasticsearch 9.0.3 may prevent shards from closing when there isn’t enough disk space to complete a merge. As a result, operations such as closing or relocating an index may hang until sufficient disk space becomes available.
1622
To mitigate this issue, the disk space checker is disabled by default in 9.0.3 by setting `indices.merge.disk.check_interval` to `0` seconds. Manually enabling this setting is not recommended.
1723

modules/repository-azure/src/main/java/org/elasticsearch/repositories/azure/AzureRepository.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
import org.elasticsearch.common.unit.ByteSizeUnit;
2323
import org.elasticsearch.common.unit.ByteSizeValue;
2424
import org.elasticsearch.common.util.BigArrays;
25+
import org.elasticsearch.core.Nullable;
2526
import org.elasticsearch.indices.recovery.RecoverySettings;
2627
import org.elasticsearch.repositories.RepositoriesMetrics;
28+
import org.elasticsearch.repositories.SnapshotMetrics;
2729
import org.elasticsearch.repositories.blobstore.MeteredBlobStoreRepository;
2830
import org.elasticsearch.xcontent.NamedXContentRegistry;
2931

@@ -111,14 +113,15 @@ public static final class Repository {
111113
private final RepositoriesMetrics repositoriesMetrics;
112114

113115
public AzureRepository(
114-
final ProjectId projectId,
116+
@Nullable final ProjectId projectId,
115117
final RepositoryMetadata metadata,
116118
final NamedXContentRegistry namedXContentRegistry,
117119
final AzureStorageService storageService,
118120
final ClusterService clusterService,
119121
final BigArrays bigArrays,
120122
final RecoverySettings recoverySettings,
121-
final RepositoriesMetrics repositoriesMetrics
123+
final RepositoriesMetrics repositoriesMetrics,
124+
final SnapshotMetrics snapshotMetrics
122125
) {
123126
super(
124127
projectId,
@@ -128,7 +131,8 @@ public AzureRepository(
128131
bigArrays,
129132
recoverySettings,
130133
buildBasePath(metadata),
131-
buildLocation(metadata)
134+
buildLocation(metadata),
135+
snapshotMetrics
132136
);
133137
this.chunkSize = Repository.CHUNK_SIZE_SETTING.get(metadata.settings());
134138
this.storageService = storageService;

modules/repository-azure/src/main/java/org/elasticsearch/repositories/azure/AzureRepositoryPlugin.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.elasticsearch.plugins.RepositoryPlugin;
2525
import org.elasticsearch.repositories.RepositoriesMetrics;
2626
import org.elasticsearch.repositories.Repository;
27+
import org.elasticsearch.repositories.SnapshotMetrics;
2728
import org.elasticsearch.threadpool.ExecutorBuilder;
2829
import org.elasticsearch.threadpool.ScalingExecutorBuilder;
2930
import org.elasticsearch.threadpool.ThreadPool;
@@ -60,7 +61,8 @@ public Map<String, Repository.Factory> getRepositories(
6061
ClusterService clusterService,
6162
BigArrays bigArrays,
6263
RecoverySettings recoverySettings,
63-
RepositoriesMetrics repositoriesMetrics
64+
RepositoriesMetrics repositoriesMetrics,
65+
SnapshotMetrics snapshotMetrics
6466
) {
6567
return Collections.singletonMap(AzureRepository.TYPE, (projectId, metadata) -> {
6668
AzureStorageService storageService = azureStoreService.get();
@@ -73,7 +75,8 @@ public Map<String, Repository.Factory> getRepositories(
7375
clusterService,
7476
bigArrays,
7577
recoverySettings,
76-
repositoriesMetrics
78+
repositoriesMetrics,
79+
snapshotMetrics
7780
);
7881
});
7982
}

0 commit comments

Comments
 (0)