Skip to content

Commit bfa9857

Browse files
Merge branch '9.0' into backport/9.0/pr-131767
2 parents a053636 + f1715d3 commit bfa9857

File tree

67 files changed

+663
-233
lines changed

Some content is hidden

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

67 files changed

+663
-233
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ private static ListMultimap<Class<?>, String> createLegacyRestTestBasePluginUsag
5959
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:deprecation:qa:early-deprecation-rest");
6060
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:deprecation:qa:rest");
6161
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:downsample:qa:with-security");
62-
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:enrich:qa:rest");
63-
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:enrich:qa:rest-with-advanced-security");
64-
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:enrich:qa:rest-with-security");
6562
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:ent-search:qa:rest");
6663
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:ccs-rolling-upgrade");
6764
map.put(LegacyRestTestBasePlugin.class, ":x-pack:plugin:eql:qa:correctness");

build-tools/src/main/java/org/elasticsearch/gradle/Architecture.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111

1212
public enum Architecture {
1313

14-
X64("x86_64", "linux/amd64"),
15-
AARCH64("aarch64", "linux/arm64");
14+
X64("x86_64", "linux/amd64", "amd64"),
15+
AARCH64("aarch64", "linux/arm64", "arm64");
1616

1717
public final String classifier;
1818
public final String dockerPlatform;
19+
public final String dockerClassifier;
1920

20-
Architecture(String classifier, String dockerPlatform) {
21+
Architecture(String classifier, String dockerPlatform, String dockerClassifier) {
2122
this.classifier = classifier;
2223
this.dockerPlatform = dockerPlatform;
24+
this.dockerClassifier = dockerClassifier;
2325
}
2426

2527
public static Architecture current() {

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ subprojects { Project subProject ->
643643
it.setCompression(Compression.GZIP)
644644
it.getArchiveBaseName().set("elasticsearch${base.suffix}-${VersionProperties.elasticsearch}-docker-image")
645645
it.getArchiveVersion().set("")
646-
it.getArchiveClassifier().set(architecture == Architecture.AARCH64 ? 'aarch64' : '')
646+
it.getArchiveClassifier().set(architecture.dockerClassifier)
647647
it.getDestinationDirectory().set(new File(project.parent.buildDir, 'distributions'))
648648
it.dependsOn(exportTask)
649649
}

docs/changelog/130279.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 130279
2+
summary: Fix missing removal of query cancellation callback in QueryPhase
3+
area: Search
4+
type: bug
5+
issues: [130071]

docs/changelog/131680.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 131680
2+
summary: Grant server module read/write entitlements for deprecated path setting "path.shared_data"
3+
area: Infra/Core
4+
type: bug
5+
issues: []

docs/changelog/131990.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 131990
2+
summary: Prevent the trained model deployment memory estimation from double-counting
3+
allocations
4+
area: Machine Learning
5+
type: bug
6+
issues: []

docs/reference/elasticsearch-plugins/cloud/ec-plugins-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ curl -X POST \
4949
-H "Authorization: ApiKey $CLOUD_API_KEY" \
5050
-H 'Content-Type: application/json' \
5151
-d '{
52-
"download_url" : "https://my_site/custom-plugin-8.4.3.zip",
52+
"download_url" : "<MY_SITE_URL>/custom-plugin-8.4.3.zip",
5353
"extension_type" : "plugin",
5454
"name" : "custom-plugin",
5555
"version" : "8.4.3"
@@ -323,7 +323,7 @@ curl -X POST \
323323
-H "Authorization: ApiKey $CLOUD_API_KEY" \
324324
-H 'Content-Type: application/json' \
325325
-d '{
326-
"download_url" : "https://my_site/custom-plugin-8.4.3-10212022.zip",
326+
"download_url" : "<MY_SITE_URL>/custom-plugin-8.4.3-10212022.zip",
327327
"extension_type" : "plugin",
328328
"name": "custom-plugin-10212022",
329329
"version" : "8.4.3"

docs/reference/elasticsearch-plugins/manage-plugins-using-configuration-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ plugins:
2525
- id: analysis-icu
2626
- id: repository-azure
2727
- id: custom-mapper
28-
location: https://example.com/archive/custom-mapper-1.0.0.zip
28+
location: <EXAMPLE_URL>/archive/custom-mapper-1.0.0.zip
2929
```
3030
3131
This example installs the official `analysis-icu` and `repository-azure` plugins, and one unofficial plugin. Every plugin must provide an `id`. Unofficial plugins must also provide a `location`. This is typically a URL, but Maven coordinates are also supported. The downloaded plugin’s name must match the ID in the configuration file.
@@ -35,7 +35,7 @@ While {{es}} will respect the [standard Java proxy system properties](https://do
3535
```yaml
3636
plugins:
3737
- id: custom-mapper
38-
location: https://example.com/archive/custom-mapper-1.0.0.zip
38+
location: <EXAMPLE_URL>/archive/custom-mapper-1.0.0.zip
3939
proxy: proxy.example.com:8443
4040
```
4141

docs/reference/elasticsearch-plugins/plugin-management-custom-url.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ HTTP
4646
: To install a plugin from an HTTP URL:
4747

4848
```shell
49-
sudo bin/elasticsearch-plugin install https://some.domain/path/to/plugin.zip
49+
sudo bin/elasticsearch-plugin install <EXAMPLE_PLUGIN_HOST_URL>/plugin.zip
5050
```
5151

5252
The plugin script will refuse to talk to an HTTPS URL with an untrusted certificate. To use a self-signed HTTPS cert, you will need to add the CA cert to a local Java truststore and pass the location to the script as follows:
5353

5454
```shell
55-
sudo CLI_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://host/plugin.zip
55+
sudo CLI_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install <MY_HOST_URL>/plugin.zip
5656
```
5757

5858

docs/reference/elasticsearch/command-line-tools/saml-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,6 @@ bin/elasticsearch-saml-metadata --realm saml2 \
112112
--locale en-GB \
113113
--contacts \
114114
--organisation-name "Mega Corp. Finance Team" \
115-
--organisation-url "http://mega.example.com/finance/"
115+
--organisation-url "<EXAMPLE_URL>/finance/"
116116
```
117117

0 commit comments

Comments
 (0)