Skip to content

Commit 0631ea1

Browse files
Merge 57fbbcb into openjdk23-bundle
2 parents 46f25aa + 57fbbcb commit 0631ea1

File tree

146 files changed

+4305
-1319
lines changed

Some content is hidden

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

146 files changed

+4305
-1319
lines changed

docs/changelog/114742.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 114742
2+
summary: Adding support for additional mapping to simulate ingest API
3+
area: Ingest Node
4+
type: enhancement
5+
issues: []

docs/changelog/114774.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 114774
2+
summary: "ESQL: Add support for multivalue fields in Arrow output"
3+
area: ES|QL
4+
type: enhancement
5+
issues: []

docs/changelog/114819.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 114819
2+
summary: Don't use a `BytesStreamOutput` to copy keys in `BytesRefBlockHash`
3+
area: EQL
4+
type: bug
5+
issues:
6+
- 114599

docs/changelog/114951.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 114951
2+
summary: Expose cluster-state role mappings in APIs
3+
area: Authentication
4+
type: bug
5+
issues: []

docs/changelog/115102.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 115102
2+
summary: Watch Next Run Interval Resets On Shard Move or Node Restart
3+
area: Watcher
4+
type: bug
5+
issues:
6+
- 111433

docs/changelog/115181.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 115181
2+
summary: Always check the parent breaker with zero bytes in `PreallocatedCircuitBreakerService`
3+
area: Aggregations
4+
type: bug
5+
issues: []

docs/changelog/115317.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 115317
2+
summary: Revert "Add `ResolvedExpression` wrapper"
3+
area: Indices APIs
4+
type: bug
5+
issues: []

docs/reference/ingest/apis/simulate-ingest.asciidoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,14 @@ POST /_ingest/_simulate
108108
"index_patterns": ["my-index-*"],
109109
"composed_of": ["component_template_1", "component_template_2"]
110110
}
111+
},
112+
"mapping_addition": { <4>
113+
"dynamic": "strict",
114+
"properties": {
115+
"foo": {
116+
"type": "keyword"
117+
}
118+
}
111119
}
112120
}
113121
----
@@ -117,6 +125,7 @@ POST /_ingest/_simulate
117125
These templates can be used to change the pipeline(s) used, or to modify the mapping that will be used to validate the result.
118126
<3> This replaces the existing `my-index-template` index template with the contents given here for the duration of this request.
119127
These templates can be used to change the pipeline(s) used, or to modify the mapping that will be used to validate the result.
128+
<4> This mapping is merged into the index's final mapping just before validation. It is used only for the duration of this request.
120129

121130
[[simulate-ingest-api-request]]
122131
==== {api-request-title}
@@ -246,6 +255,10 @@ include::{es-ref-dir}/indices/put-index-template.asciidoc[tag=request-body]
246255
247256
====
248257

258+
`mapping_addition`::
259+
(Optional, <<mapping,mapping object>>)
260+
Definition of a mapping that will be merged into the index's mapping for validation during the course of this request.
261+
249262
[[simulate-ingest-api-example]]
250263
==== {api-examples-title}
251264

docs/reference/mapping/types/binary.asciidoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,16 @@ Synthetic source may sort `binary` values in order of their byte representation.
6868
----
6969
PUT idx
7070
{
71+
"settings": {
72+
"index": {
73+
"mapping": {
74+
"source": {
75+
"mode": "synthetic"
76+
}
77+
}
78+
}
79+
},
7180
"mappings": {
72-
"_source": { "mode": "synthetic" },
7381
"properties": {
7482
"binary": { "type": "binary", "doc_values": true }
7583
}

docs/reference/watcher/how-watcher-works.asciidoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,18 @@ add, the more distributed the watches can be executed. If you add or remove
146146
replicas, all watches need to be reloaded. If a shard is relocated, the
147147
primary and all replicas of this particular shard will reload.
148148

149-
Because the watches are executed on the node, where the watch shards are, you can create
150-
dedicated watcher nodes by using shard allocation filtering.
149+
Because the watches are executed on the node, where the watch shards are, you
150+
can create dedicated watcher nodes by using shard allocation filtering. To do this
151+
, configure nodes with a dedicated `node.attr.role: watcher` property.
151152

152-
You could configure nodes with a dedicated `node.attr.role: watcher` property and
153-
then configure the `.watches` index like this:
153+
As the `.watches` index is a system index, you can't use the normal `.watcher/_settings`
154+
endpoint to modify its routing allocation. Instead, you can use the following dedicated
155+
endpoint to adjust the allocation of the `.watches` shards to the nodes with the
156+
`watcher` role attribute:
154157

155158
[source,console]
156159
------------------------
157-
PUT .watches/_settings
160+
PUT _watcher/settings
158161
{
159162
"index.routing.allocation.include.role": "watcher"
160163
}

0 commit comments

Comments
 (0)