Skip to content

Commit 8b82c02

Browse files
Merge pull request #165 from elastic/master
🤖 ESQL: Merge upstream
2 parents 35c3de1 + c9b4499 commit 8b82c02

File tree

674 files changed

+2347
-2703
lines changed

Some content is hidden

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

674 files changed

+2347
-2703
lines changed

.ci/bwcVersions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ BWC_VERSION:
6464
- "8.2.1"
6565
- "8.2.2"
6666
- "8.2.3"
67-
- "8.2.4"
6867
- "8.3.0"
68+
- "8.3.1"
6969
- "8.4.0"

.ci/snapshotBwcVersions

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
BWC_VERSION:
22
- "7.17.5"
3-
- "8.2.4"
4-
- "8.3.0"
3+
- "8.3.1"
54
- "8.4.0"

benchmarks/src/main/resources/org/elasticsearch/benchmark/xcontent/monitor_cluster_stats.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -298,16 +298,6 @@
298298
"extended_plugins" : [ ],
299299
"has_native_controller" : false
300300
},
301-
{
302-
"name" : "ingest-attachment",
303-
"version" : "7.10.0",
304-
"elasticsearch_version" : "7.10.0",
305-
"java_version" : "1.8",
306-
"description" : "Ingest processor that uses Apache Tika to extract contents",
307-
"classname" : "org.elasticsearch.ingest.attachment.IngestAttachmentPlugin",
308-
"extended_plugins" : [ ],
309-
"has_native_controller" : false
310-
},
311301
{
312302
"name" : "mapper-murmur3",
313303
"version" : "7.10.0",

build-tools-internal/version.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ netty = 4.1.77.Final
2424
commons_lang3 = 3.9
2525

2626
# when updating this version, you need to ensure compatibility with:
27-
# - plugins/ingest-attachment (transitive dependency, check the upstream POM)
27+
# - modules/ingest-attachment (transitive dependency, check the upstream POM)
2828
# - distribution/tools/plugin-cli
2929
# - x-pack/plugin/security
3030
bouncycastle=1.64
@@ -36,9 +36,9 @@ opensaml = 4.0.1
3636
randomizedrunner = 2.7.7
3737
junit = 4.12
3838
junit5 = 5.7.1
39-
httpclient = 4.5.10
40-
httpcore = 4.4.12
41-
httpasyncclient = 4.1.4
39+
httpclient = 4.5.13
40+
httpcore = 4.4.13
41+
httpasyncclient = 4.1.5
4242
commonslogging = 1.1.3
4343
commonscodec = 1.14
4444
hamcrest = 2.1

client/rest/licenses/httpasyncclient-4.1.4.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cd18227f1eb8e9a263286c1d7362ceb24f6f9b32

client/rest/licenses/httpclient-4.5.10.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e5f6cae5ca7ecaac1ec2827a9e2d65ae2869cada

client/rest/licenses/httpcore-4.4.12.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
853b96d3afbb7bf8cc303fe27ee96836a10c1834

client/rest/licenses/httpcore-nio-4.4.12.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3f897ace4d7f10f0ea6a58f524a3b105dd483653

client/sniffer/licenses/httpclient-4.5.10.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e5f6cae5ca7ecaac1ec2827a9e2d65ae2869cada

client/sniffer/licenses/httpcore-4.4.12.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
853b96d3afbb7bf8cc303fe27ee96836a10c1834

distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/cli/InstallPluginAction.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,12 @@ public class InstallPluginAction implements Closeable {
159159
* maintained so that existing user workflows that install these plugins do not need to be updated
160160
* immediately.
161161
*/
162-
public static final Set<String> PLUGINS_CONVERTED_TO_MODULES = Set.of("repository-azure", "repository-gcs", "repository-s3");
162+
public static final Set<String> PLUGINS_CONVERTED_TO_MODULES = Set.of(
163+
"repository-azure",
164+
"repository-gcs",
165+
"repository-s3",
166+
"ingest-attachment"
167+
);
163168

164169
static final Set<PosixFilePermission> BIN_DIR_PERMS;
165170
static final Set<PosixFilePermission> BIN_FILES_PERMS;

distribution/tools/plugin-cli/src/test/java/org/elasticsearch/plugins/cli/InstallPluginActionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ public void testMultipleJars() throws Exception {
15031503
* instead simply print a message to the terminal.
15041504
*/
15051505
public void testInstallMigratedPlugins() throws Exception {
1506-
for (String id : List.of("repository-azure", "repository-gcs", "repository-s3")) {
1506+
for (String id : List.of("repository-azure", "repository-gcs", "repository-s3", "ingest-attachment")) {
15071507
installPlugin(id);
15081508
assertThat(terminal.getErrorOutput(), containsString("[" + id + "] is no longer a plugin"));
15091509
}

docs/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ ext.docsFileTree = fileTree(projectDir) {
2525
// Broken code snippet tests
2626
exclude 'reference/graph/explore.asciidoc'
2727
if (BuildParams.inFipsJvm) {
28-
// We don't install/support this plugin in FIPS 140
29-
exclude 'plugins/ingest-attachment.asciidoc'
30-
// We can't conditionally control output, this would be missing the ingest-attachment plugin
28+
// We don't support this component in FIPS 140
29+
exclude 'reference/ingest/processors/attachment.asciidoc'
30+
// We can't conditionally control output, this would be missing the ingest-attachment component
3131
exclude 'reference/cat/plugins.asciidoc'
3232
}
3333
}
@@ -105,7 +105,7 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
105105
return
106106
}
107107
// Do not install ingest-attachment in a FIPS 140 JVM as this is not supported
108-
if (subproj.path.startsWith(':plugins:ingest-attachment') && BuildParams.inFipsJvm) {
108+
if (subproj.path.startsWith(':modules:ingest-attachment') && BuildParams.inFipsJvm) {
109109
return
110110
}
111111
plugin subproj.path

docs/changelog/87052.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/87163.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/87235.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/changelog/87254.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/87264.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/87293.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/changelog/87396.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/changelog/87429.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/87491.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 87491
2+
summary: Update version of internal http client
3+
area: "Infra/Core"
4+
type: enhancement
5+
issues: []

docs/changelog/87895.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 87895
2+
summary: Add processors to autoscaling capacity response
3+
area: Autoscaling
4+
type: enhancement
5+
issues: []

docs/changelog/87978.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 87978
2+
summary: Improve trained model stats API performance
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/changelog/87989.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 87989
2+
summary: Move the ingest attachment processor to the default distribution
3+
area: Ingest
4+
type: enhancement
5+
issues: []

docs/changelog/88031.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 88031
2+
summary: Removing `BouncyCastle` dependencies from ingest-attachment plugin
3+
area: Ingest
4+
type: enhancement
5+
issues: []

docs/changelog/88039.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 88039
2+
summary: Update HDFS Repository to HDFS 3.3.3
3+
area: Snapshot/Restore
4+
type: enhancement
5+
issues: []

docs/plugins/index.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ include::analysis.asciidoc[]
4444

4545
include::discovery.asciidoc[]
4646

47-
include::ingest.asciidoc[]
48-
4947
include::mapper.asciidoc[]
5048

5149
include::repository.asciidoc[]

docs/plugins/ingest.asciidoc

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/plugins/redirects.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,17 @@ include::redirects.asciidoc[tag=gcs-repo-migration]
145145
=== Google Cloud Storage repository plugin
146146

147147
include::redirects.asciidoc[tag=gcs-repo-migration]
148+
149+
[role="exclude",id="ingest-attachment"]
150+
=== Ingest Attachment plugin
151+
152+
// tag::ingest-attachment-migration[]
153+
The Ingest Attachment plugin is now included in {es}.
154+
See the {ref}/attachment.html[Ingest Attachment] processor.
155+
// end::ingest-attachment-migration[]
156+
157+
[role="exclude",id="ingest"]
158+
=== Ingest plugins
159+
160+
All ingest functionality has been moved into the default distribution.
161+
For more information refer to the {ref}/processors.html[existing processors].

docs/reference/cat/plugins.asciidoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
[IMPORTANT]
99
====
10-
cat APIs are only intended for human consumption using the command line or {kib}
11-
console. They are _not_ intended for use by applications. For application
10+
cat APIs are only intended for human consumption using the command line or {kib}
11+
console. They are _not_ intended for use by applications. For application
1212
consumption, use the <<cluster-nodes-info,nodes info API>>.
1313
====
1414

@@ -67,7 +67,6 @@ U7321H6 analysis-ukrainian {version_qualified} The Ukrainian Analysis plugi
6767
U7321H6 discovery-azure-classic {version_qualified} The Azure Classic Discovery plugin allows to use Azure Classic API for the unicast discovery mechanism
6868
U7321H6 discovery-ec2 {version_qualified} The EC2 discovery plugin allows to use AWS API for the unicast discovery mechanism.
6969
U7321H6 discovery-gce {version_qualified} The Google Compute Engine (GCE) Discovery plugin allows to use GCE API for the unicast discovery mechanism.
70-
U7321H6 ingest-attachment {version_qualified} Ingest processor that uses Apache Tika to extract contents
7170
U7321H6 mapper-annotated-text {version_qualified} The Mapper Annotated_text plugin adds support for text fields with markup used to inject annotation tokens into the index.
7271
U7321H6 mapper-murmur3 {version_qualified} The Mapper Murmur3 plugin allows to compute hashes of a field's values at index-time and to store them in the index.
7372
U7321H6 mapper-size {version_qualified} The Mapper Size plugin allows document to record their uncompressed size at index time.

docs/reference/health/health.asciidoc

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ details have contents and a structure that is unique to each indicator.
290290
(Optional, array) A list of nodes that have been elected or replaced as master in a recent
291291
time window. This field is present if the master
292292
is changing rapidly enough to cause problems, and also present as additional information
293-
when the indicator is `green`.
293+
when the indicator is `green`. This array includes only elected masters, and does _not_
294+
include empty entries for periods when there was no elected master.
294295
+
295296
.Properties of `recent_masters`
296297
[%collapsible%open]
@@ -303,17 +304,32 @@ details have contents and a structure that is unique to each indicator.
303304
====
304305

305306
`exception_fetching_history`::
306-
(Optional, object) Master history is requested from the most recently elected master node for diagnosis purposes.
307-
If fetching this remote history fails, the exception information is returned in this detail field.
307+
(Optional, object) If the node being queried sees that the elected master has stepped down
308+
repeatedly, the master history is requested from the most recently elected master node for
309+
diagnosis purposes. If fetching this remote history fails, the exception information is
310+
returned in this detail field.
308311
+
309312
.Properties of `exception_fetching_history`
310313
[%collapsible%open]
311314
====
312315
`message`::
313-
(string) The exception message for the failed history fetch operation.
316+
(string) The exception message for the failed history fetch operation.
314317
315318
`stack_trace`::
316-
(string) The stack trace for the failed history fetch operation.
319+
(string) The stack trace for the failed history fetch operation.
320+
====
321+
322+
`cluster_formation`::
323+
(Optional, object) If there has been no elected master node recently, the node being queried attempts to
324+
gather information about why the cluster has been unable to form, or why the node being queried has been
325+
unable to join the cluster if it has formed.
326+
+
327+
.Properties of `cluster_formation`
328+
[%collapsible%open]
329+
====
330+
`description`::
331+
(string) A detailed description explaining what went wrong with cluster formation, or why this node was
332+
unable to join the cluster if it has formed.
317333
====
318334

319335
[[health-api-response-details-shards-availability]]

docs/reference/ingest/processors.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ installed.
2929

3030
[source,yaml]
3131
----
32-
plugin.mandatory: ingest-attachment
32+
plugin.mandatory: my-ingest-plugin
3333
----
3434

3535
include::processors/append.asciidoc[]
36+
include::processors/attachment.asciidoc[]
3637
include::processors/bytes.asciidoc[]
3738
include::processors/circle.asciidoc[]
3839
include::processors/community-id.asciidoc[]

0 commit comments

Comments
 (0)