Skip to content

Commit e4f351a

Browse files
committed
Merge branch 'main' into shard-logging
2 parents b1c780c + b337796 commit e4f351a

File tree

142 files changed

+3593
-1221
lines changed

Some content is hidden

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

142 files changed

+3593
-1221
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public TaskProvider<? extends Task> createTask(Project project) {
3838

3939
project.getPlugins().apply(CompileOnlyResolvePlugin.class);
4040
project.getConfigurations().create("forbiddenApisCliJar");
41-
project.getDependencies().add("forbiddenApisCliJar", "de.thetaphi:forbiddenapis:3.6");
41+
project.getDependencies().add("forbiddenApisCliJar", "de.thetaphi:forbiddenapis:3.9");
4242
Configuration jdkJarHellConfig = project.getConfigurations().create(JDK_JAR_HELL_CONFIG_NAME);
4343

4444
if (project.getPath().equals(LIBS_ELASTICSEARCH_CORE_PROJECT_PATH) == false) {

docs/changelog/143377.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
area: Mapping
2+
issues: []
3+
pr: 143377
4+
summary: Re-use previously seen dynamically-created Mappers during document parsing
5+
type: bug

docs/changelog/143433.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
area: Codec
2+
issues: []
3+
pr: 143433
4+
summary: Rewrite `*substring*` wildcard queries to contains term queries for binary
5+
doc values keywords
6+
type: enhancement

docs/reference/elasticsearch/index-lifecycle-actions/ilm-rollover.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ The index will roll over once any `max_*` condition is satisfied and all `min_*`
5757
`max_docs`
5858
: (Optional, integer) Triggers rollover after the specified maximum number of documents is reached. Documents added since the last refresh are not included in the document count. The document count does **not** include documents in replica shards.
5959

60-
`max_size`
60+
`max_size` {applies_to}`stack: deprecated 9.3.0+`
6161
: (Optional, [byte units](/reference/elasticsearch/rest-apis/api-conventions.md#byte-units)) Triggers rollover when the index reaches a certain size. This is the total size of all primary shards in the index. Replicas are not counted toward the maximum index size.
6262

63+
:::{admonition} Deprecated
64+
The `max_size` rollover attribute will be removed in a future version. Use `max_primary_shard_size` instead.
65+
:::
66+
6367
::::{tip}
6468
To see the current index size, use the [_cat indices](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-indices) API. The `pri.store.size` value shows the combined size of all primary shards.
6569
::::

docs/reference/enrich-processor/geoip-processor.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ If you can’t [automatically update](#geoip-automatic-updates) your IP geolocat
214214
* [Use a custom endpoint](#use-custom-geoip-endpoint)
215215
* [Manually update your IP geolocation databases](#manually-update-geoip-databases)
216216

217-
$$$use-proxy-geoip-endpoint$$$
218-
**Use a reverse proxy endpoint**
217+
### Use a reverse proxy endpoint [use-proxy-geoip-endpoint]
219218

220219
If you can’t connect directly to the Elastic GeoIP endpoint, consider setting up a secure reverse proxy. You can then specify the reverse proxy endpoint URL in the [`ingest.geoip.downloader.endpoint`](#ingest-geoip-downloader-endpoint) setting of each node’s `elasticsearch.yml` file.
221220

@@ -228,8 +227,7 @@ In a strict setup the following domains may need to be added to the allowed doma
228227
* `geoip.elastic.co`
229228
* `storage.googleapis.com`
230229

231-
$$$use-custom-geoip-endpoint$$$
232-
**Use a custom endpoint**
230+
### Use a custom endpoint [use-custom-geoip-endpoint]
233231

234232
You can create a service that mimics the Elastic GeoIP endpoint. You can then get automatic updates from this service.
235233

@@ -252,8 +250,7 @@ You can create a service that mimics the Elastic GeoIP endpoint. You can then ge
252250
By default, {{es}} checks the endpoint for updates every three days. To use another polling interval, use the [cluster update settings API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-settings) to set [`ingest.geoip.downloader.poll.interval`](#ingest-geoip-downloader-poll-interval).
253251

254252

255-
$$$manually-update-geoip-databases$$$
256-
**Manually update your IP geolocation databases**
253+
### Manually update your IP geolocation databases [manually-update-geoip-databases]
257254

258255
1. Use the [cluster update settings API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-settings) to set `ingest.geoip.downloader.enabled` to `false`. This disables automatic updates that may overwrite your database changes. This also deletes all downloaded databases.
259256
2. Download your `.mmdb` database files from the [MaxMind site](http://dev.maxmind.com/geoip/geoip2/geolite2).
@@ -264,7 +261,11 @@ $$$manually-update-geoip-databases$$$
264261
4. On self-managed deployments copy the database files to `$ES_CONFIG/ingest-geoip`.
265262
5. In your `geoip` processors, configure the `database_file` parameter to use a custom database file.
266263

267-
### Node Settings [ingest-geoip-settings]
264+
### Troubleshooting geolocation database updates
265+
266+
{{es}} ensures that only one node in the cluster downloads geolocation database updates at once. The node responsible for each download will record messages in its logs if it encounters any problems during the download. When troubleshooting problems with geolocation database updates, consult the logs from all the nodes in the cluster to gather accurate troubleshooting information.
267+
268+
## Node Settings [ingest-geoip-settings]
268269

269270
The `geoip` processor supports the following setting:
270271

@@ -274,7 +275,7 @@ The `geoip` processor supports the following setting:
274275
Note that these settings are node settings and apply to all `geoip` and `ip_location` processors, i.e. there is a single cache for all such processors.
275276

276277

277-
### Cluster settings [geoip-cluster-settings]
278+
## Cluster settings [geoip-cluster-settings]
278279

279280
$$$ingest-geoip-downloader-enabled$$$
280281

docs/reference/query-languages/esql/_snippets/lists/aggregation-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* [`AVG`](../../functions-operators/aggregation-functions/avg.md)
33
* [`COUNT`](../../functions-operators/aggregation-functions/count.md)
44
* [`COUNT_DISTINCT`](../../functions-operators/aggregation-functions/count_distinct.md)
5-
* [`FIRST`](../../functions-operators/aggregation-functions/first.md) {applies_to}`stack: preview` {applies_to}`serverless: preview`
6-
* [`LAST`](../../functions-operators/aggregation-functions/last.md) {applies_to}`stack: preview` {applies_to}`serverless: preview`
5+
% * [`FIRST`](../../functions-operators/aggregation-functions/first.md) {applies_to}`stack: preview` {applies_to}`serverless: preview`
6+
% * [`LAST`](../../functions-operators/aggregation-functions/last.md) {applies_to}`stack: preview` {applies_to}`serverless: preview`
77
* [`MAX`](../../functions-operators/aggregation-functions/max.md)
88
* [`MEDIAN`](../../functions-operators/aggregation-functions/median.md)
99
* [`MEDIAN_ABSOLUTE_DEVIATION`](../../functions-operators/aggregation-functions/median_absolute_deviation.md)

docs/reference/query-languages/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ toc:
155155
- file: esql/functions-operators/aggregation-functions/values.md
156156
- file: esql/functions-operators/aggregation-functions/variance.md
157157
- file: esql/functions-operators/aggregation-functions/weighted_avg.md
158-
- file: esql/functions-operators/aggregation-functions/first.md
159-
- file: esql/functions-operators/aggregation-functions/last.md
158+
- hidden: esql/functions-operators/aggregation-functions/first.md
159+
- hidden: esql/functions-operators/aggregation-functions/last.md
160160
- file: esql/functions-operators/time-series-aggregation-functions.md
161161
children:
162162
- file: esql/functions-operators/time-series-aggregation-functions/absent_over_time.md

docs/release-notes/known-issues.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,30 @@ mapped_pages:
88

99
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.
1010

11+
## 9.3.1 [elasticsearch-9.3.1-known-issues]
12+
13+
* On multi-node clusters where one or more nodes do not have a GPU, the GPU stats collection for `_xpack/usage` triggers repeated WARN-level log messages from `OutboundHandler`:
14+
15+
```
16+
[WARN ][o.e.t.OutboundHandler] failed to serialize outbound message [org.elasticsearch.xpack.gpu.NodeGpuStatsResponse@...] java.lang.IllegalStateException: Negative longs unsupported, use writeLong or writeZLong for negative numbers [-1]
17+
```
18+
19+
The GPU stats for affected nodes are not collected, but all other `_xpack/usage` features continue to work normally. Single-node clusters are not affected because the response does not need to be serialized over the network.
20+
21+
To mitigate the log flooding, temporarily raise the log level for `OutboundHandler` to `ERROR`:
22+
23+
```
24+
PUT /_cluster/settings
25+
{
26+
"persistent": {
27+
"logger.org.elasticsearch.transport.OutboundHandler": "ERROR"
28+
}
29+
}
30+
```
31+
32+
This bug is fixed in version 9.3.2.
33+
34+
1135
## 9.2.4 [elasticsearch-9.2.4-known-issues]
1236

1337
* Upgrading from 9.1.10 to 9.2.4 may cause the following error:
@@ -17,7 +41,7 @@ Known issues are significant defects or limitations that may impact your impleme
1741
...
1842
org.elasticsearch.xcontent.XContentParseException: [-1:107008] [node_shutdown_info] unknown field [shutdown_started_millis] did you mean [shutdown_startedmillis]
1943
```
20-
44+
2145
This bug is addressed in version 9.2.5.
2246

2347
## 9.2.0 [elasticsearch-9.2.0-known-issues]

gradle/build.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bytebuddy = "net.bytebuddy:byte-buddy:1.15.11"
1616
checkstyle = "com.puppycrawl.tools:checkstyle:11.0.1"
1717
commmons-io = "commons-io:commons-io:2.2"
1818
docker-compose = "com.avast.gradle:gradle-docker-compose-plugin:0.17.5"
19-
forbiddenApis = "de.thetaphi:forbiddenapis:3.8"
19+
forbiddenApis = "de.thetaphi:forbiddenapis:3.9"
2020
gradle-enterprise = "com.gradle:develocity-gradle-plugin:4.2.2"
2121
hamcrest = "org.hamcrest:hamcrest:3.0"
2222
httpcore5 = "org.apache.httpcomponents.core5:httpcore5:5.3.3"

gradle/verification-metadata.xml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,14 +1754,9 @@
17541754
<sha256 value="b6ae5b90d5825070d2f82ac61417090fce8ed7e56348a3e86a2026774e8ba56a" origin="Generated by Gradle"/>
17551755
</artifact>
17561756
</component>
1757-
<component group="de.thetaphi" name="forbiddenapis" version="3.6">
1758-
<artifact name="forbiddenapis-3.6.jar">
1759-
<sha256 value="7b478e69fb613a05c2e1cb0ecfd257618cfb477333660914440a30b5afc712ff" origin="Generated by Gradle"/>
1760-
</artifact>
1761-
</component>
1762-
<component group="de.thetaphi" name="forbiddenapis" version="3.8">
1763-
<artifact name="forbiddenapis-3.8.jar">
1764-
<sha256 value="c8f7d13e5ac1cbbd605616b8882bf1693047a0351ac9e70c7b42fb6d43b3240d" origin="Generated by Gradle"/>
1757+
<component group="de.thetaphi" name="forbiddenapis" version="3.9">
1758+
<artifact name="forbiddenapis-3.9.jar">
1759+
<sha256 value="f44029523a5d8d827adfb5139479cbf5825d5521b132615056463131e371bb4f" origin="Generated by Gradle"/>
17651760
</artifact>
17661761
</component>
17671762
<component group="dev.equo.ide" name="solstice" version="1.7.4">

0 commit comments

Comments
 (0)