Skip to content

Commit b7fc221

Browse files
Merge branch 'main' into move-system-indices-migration_main
2 parents 2003e69 + a58d8e0 commit b7fc221

File tree

231 files changed

+5600
-1831
lines changed

Some content is hidden

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

231 files changed

+5600
-1831
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515
public enum DockerBase {
1616
// "latest" here is intentional, since the image name specifies "9"
17-
DEFAULT("docker.elastic.co/ubi9/ubi-minimal:latest", "", "microdnf"),
17+
DEFAULT("redhat/ubi9-minimal:latest", "", "microdnf"),
1818

1919
// The Iron Bank base image is UBI (albeit hardened), but we are required to parameterize the Docker build
2020
IRON_BANK("${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}", "-ironbank", "yum"),

docs/changelog/121041.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121041
2+
summary: Support configurable chunking in `semantic_text` fields
3+
area: Relevance
4+
type: enhancement
5+
issues: []

docs/changelog/125060.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
pr: 125060
2+
summary: Allow partial results by default in ES|QL
3+
area: ES|QL
4+
type: breaking
5+
issues: [122802]
6+
7+
breaking:
8+
title: Allow partial results by default in ES|QL
9+
area: ES|QL
10+
details: >-
11+
In earlier versions of {es}, ES|QL would fail the entire query if it encountered any error. ES|QL now returns partial results instead of failing when encountering errors.
12+
13+
impact: >-
14+
Callers should check the `is_partial` flag returned in the response to determine if the result is partial or complete. If returning partial results is not desired, this option can be overridden per request via an `allow_partial_results` parameter in the query URL or globally via the cluster setting `esql.query.allow_partial_results`.
15+
16+
notable: true

docs/changelog/125452.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 125452
2+
summary: Add GCS telemetry with `ThreadLocal`
3+
area: Snapshot/Restore
4+
type: enhancement
5+
issues: []

docs/changelog/125732.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 125732
2+
summary: Log stack traces on data nodes before they are cleared for transport
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/126008.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 126008
2+
summary: Accumulate compute() calls and iterations between convergences
3+
area: Allocation
4+
type: enhancement
5+
issues:
6+
- 100850

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 119 additions & 41 deletions
Large diffs are not rendered by default.

docs/release-notes/breaking-changes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ To learn how to upgrade, check out <uprade docs>.
1414

1515
% ## Next version [elasticsearch-nextversion-breaking-changes]
1616

17+
## 9.1.0 [elasticsearch-910-breaking-changes]
18+
19+
ES|QL
20+
: * Allow partial results by default in ES|QL [#125060](https://github.com/elastic/elasticsearch/pull/125060)
21+
1722
## 9.0.0 [elasticsearch-900-breaking-changes]
1823

1924
Allocation

libs/entitlement/README.md

Lines changed: 187 additions & 6 deletions
Large diffs are not rendered by default.

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/PolicyUtils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ private static void validatePolicyScopes(String layerName, Policy policy, Set<St
141141
public static Policy parsePolicyIfExists(String pluginName, Path pluginRoot, boolean isExternalPlugin) throws IOException {
142142
Path policyFile = pluginRoot.resolve(POLICY_FILE_NAME);
143143
if (Files.exists(policyFile)) {
144-
return new PolicyParser(Files.newInputStream(policyFile, StandardOpenOption.READ), pluginName, isExternalPlugin).parsePolicy();
144+
try (var inputStream = Files.newInputStream(policyFile, StandardOpenOption.READ)) {
145+
return new PolicyParser(inputStream, pluginName, isExternalPlugin).parsePolicy();
146+
}
145147
}
146148
return new Policy(pluginName, List.of());
147149
}

0 commit comments

Comments
 (0)