Skip to content

Commit 1f303cf

Browse files
committed
Merge remote-tracking branch 'upstream/main' into structured_source
2 parents 05b30ff + 71940d6 commit 1f303cf

File tree

108 files changed

+3048
-555
lines changed

Some content is hidden

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

108 files changed

+3048
-555
lines changed

docs/changelog/131723.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 131723
2+
summary: Tests for FORK's evaluation of field names used in `field_caps` resolve calls
3+
area: Search
4+
type: bug
5+
issues: []

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/changelog/132646.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132646
2+
summary: Update EIS sparse and dense embedding max batch size to 16
3+
area: Machine Learning
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: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
---
22
navigation_title: "Known issues"
33
mapped_pages:
4-
- https://www.elastic.co/guide/en/elasticsearch/reference/current/es-connectors-known-issues.html
4+
- https://www.elastic.co/guide/en/elasticsearch/reference/current/es-release-notes.html
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)