Commit 489fcef
committed
Squashed commit of the following:
commit e6b8a64
Author: Lorenzo Dematte <[email protected]>
Date: Tue Jun 10 12:02:16 2025 +0200
PR comments
commit ad0902e
Author: Moritz Mack <[email protected]>
Date: Fri Jun 6 13:33:37 2025 +0200
Update ReproduceInfoPrinter to correctly print a reproduction for lucene / BC upgrade tests. Relates to ES-12005
commit 78b4168
Author: Alexander Spies <[email protected]>
Date: Fri Jun 6 11:37:53 2025 +0200
ESQL: Throw ISE instead of IAE for illegal block in page (elastic#128960)
IAE gets reported as a 400 status code, but that's inappropriate when
inconsistent pages are always bugs, and should be reported with a 500.
Throw ISE instead.
commit 29e68bd
Author: Aurélien FOUCRET <[email protected]>
Date: Fri Jun 6 11:24:23 2025 +0200
[ES|QL] Fix test releases for telemetry. (elastic#128971)
commit 1a76bc2
Author: Bogdan Pintea <[email protected]>
Date: Fri Jun 6 11:01:49 2025 +0200
ESQL: Workaround for RLike handling of empty lang pattern (elastic#128895)
Lucene's `org.apache.lucene.util.automaton.Operations#getSingleton` fails with an Automaton for a `REGEXP_EMPTY` `RegExp`. This adds a workaround for that, to check the type of automaton before calling into that failing method.
Closes elastic#128813
commit e24fd32
Author: Aurélien FOUCRET <[email protected]>
Date: Fri Jun 6 10:25:28 2025 +0200
[ES|QL] Enable the completion command as a tech preview feature (elastic#128948)
commit 3f03775
Author: Niels Bauman <[email protected]>
Date: Fri Jun 6 09:00:24 2025 +0200
Remove non-test usages of `Metadata.Builder#putCustom` (elastic#128801)
This removes all non-test usages of
```
Metadata.Builder.putCustom(String type, ProjectCustom custom)
```
And replaces it with appropriate calls to the equivalent method on
`ProjectMetadata.Builder`.
In most cases this _does not_ make the code project aware, but does
reduce the number of deprecated methods in use.
commit 330d127
Author: Niels Bauman <[email protected]>
Date: Fri Jun 6 08:07:59 2025 +0200
Make utility methods in `IndexLifecycleTransition` project-aware (elastic#128930)
Modifies the methods to work with a project scope rather than a cluster
scope.
This is part of an iterative process to make ILM project-aware.
commit 1b5720d
Author: Aurélien FOUCRET <[email protected]>
Date: Fri Jun 6 07:50:52 2025 +0200
[ES|QL] Fix test releases for LookupJoinTypesIT. (elastic#128985)
commit 40cf2d3
Author: Tim Vernum <[email protected]>
Date: Fri Jun 6 13:09:31 2025 +1000
Add "extension" attribute validation to IdP SPs (elastic#128805)
This extends the change from elastic#128176 to validate the "custom
attributes" on a per Service Provider basis.
Each Service Provider (whether registered or wildcard based) has a
field "attributes.extensions" which is a list of attribute names that
may be provided by the caller of "/_idp/saml/init".
Service Providers that have not be configured with extension
attributes will reject any custom attributes in SAML init.
This necessitates a new field in the service provider index (but only
if the new `extensions` attribute is set).
The template has been updated, but there is no data migration because
the `saml-service-provider` index does not exist in any of the
environments into which we wish to deploy this change.
commit 496fb2d
Author: Jordan Powers <[email protected]>
Date: Thu Jun 5 19:50:09 2025 -0700
Skip UTF8 to UTF16 conversion during document indexing (elastic#126492)
When parsing documents, we receive the document as UTF-8 encoded data which
we then parse and convert the fields to java-native UTF-16 encoded Strings.
We then convert these strings back to UTF-8 for storage in lucene.
This patch skips the redundant conversion, instead passing lucene a
direct reference to the received UTF-8 bytes when possible.
commit c34f8b6
Author: Tim Vernum <[email protected]>
Date: Fri Jun 6 12:03:25 2025 +1000
Improve cache invalidation in IdP SP cache (elastic#128890)
The Identity Provider's Service Provider cache had two issues:
1. It checked for identity based on sequence numbers, but didn't
include the `seq_no_primary_term` parameter on searches, which
means the sequence would always by `-2`
2. It didn't track whether the index was deleted, which means it
could be caching values from an old version of the index
This commit fixes both of these issues.
In practice neither issue was a problem because there are no
deployments that use index-based service providers, however the 2nd
issue did cause some challenges for testing.
commit 923f029
Author: Nhat Nguyen <[email protected]>
Date: Thu Jun 5 18:09:58 2025 -0700
Fix block loader with missing ignored source (elastic#129006)
We miss appending null when ignored_source is not available. Our
randomized tests already cover this case, but we do not check it when
loading fields.
I labelled this non-issue for an unreleased bug.
Closes elastic#128959
Relates elastic#119546
commit 0f8178a
Author: Bogdan Pintea <[email protected]>
Date: Fri Jun 6 02:02:24 2025 +0200
ESQL: Forward port 8.19 RegexMatch serialization change version (elastic#128979)
Fwd port ESQL_REGEX_MATCH_WITH_CASE_INSENSITIVITY_8_19.
Related: elastic#128919.
commit ee716f1
Author: Simon Chase <[email protected]>
Date: Thu Jun 5 15:20:08 2025 -0700
transport: edit TransportConnectionListener for close exceptions (elastic#129015)
The TransportConnectionListener interface has previously included the
Transport.Connection being closed and unregistered in its onNodeDisconnected
callback. This is not in use, and can be removed as it is also available in the
onConnectionClosed callback. It is being replaced with a Nullable exception that
caused the close. This is being used in pending work (ES-11448) to differentiate
network issues from node restarts.
Closes ES-12007
commit aceaf23
Merge: f18f4ee 159c57f
Author: elasticsearchmachine <[email protected]>
Date: Thu Jun 5 19:27:54 2025 +0000
Merge patch/serverless-fix into main
commit 159c57f
Author: Rene Groeschke <[email protected]>
Date: Tue Jun 3 11:56:27 2025 +0200
Prepare serverless patch including elastic#128784 elastic#128740 (elastic#128807)
* Change default for vector.rescoring.directio to false (elastic#128784)
On serverless (and potentially elsewhere), direct IO is not available, which can cause BBQ shards to fail to read with org.apache.lucene.CorruptIndexException when this setting is true.
* Optimize sparse vector stats collection (elastic#128740)
This change improves the performance of sparse vector statistics gathering by using the document count of terms directly, rather than relying on the field name field to compute stats.
By avoiding per-term disk/network reads and instead leveraging statistics already loaded into leaf readers at index opening, we expect to significantly reduce overhead.
Relates to elastic#128583
---------
Co-authored-by: Dave Pifke <[email protected]>
Co-authored-by: Jim Ferenczi <[email protected]>1 parent 860d64f commit 489fcef
File tree
109 files changed
+3231
-2303
lines changed- benchmarks/src/main/java/org/elasticsearch/benchmark/xcontent
- docs/changelog
- libs/x-content
- impl/src
- main/java/org/elasticsearch/xcontent/provider/json
- test/java/org/elasticsearch/xcontent/provider/json
- src
- main/java/org/elasticsearch/xcontent
- support
- test/java/org/elasticsearch/xcontent
- modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/direct
- server/src
- main/java/org/elasticsearch
- cluster
- coordination
- metadata
- index/mapper
- repositories/blobstore
- script
- snapshots
- transport
- test/java/org/elasticsearch
- action/search
- cluster
- common/xcontent
- transport
- test
- framework/src/main/java/org/elasticsearch
- index/mapper
- repositories/blobstore
- test/junit/listeners
- transport
- yaml-rest-runner/src/main/java/org/elasticsearch/test/rest/yaml
- x-pack/plugin
- ccr/src/main/java/org/elasticsearch/xpack/ccr/action
- core
- src/main/java/org/elasticsearch/xpack/core/ilm
- template-resources/src/main/resources/idp
- esql-core/src
- main/java/org/elasticsearch/xpack/esql/core/expression/predicate/regex
- test/java/org/elasticsearch/xpack/esql/core
- expression/predicate/regex
- util
- esql
- compute/src/main/java/org/elasticsearch/compute/data
- qa
- server/src/main/java/org/elasticsearch/xpack/esql/qa/rest
- testFixtures/src/main/resources
- src
- internalClusterTest/java/org/elasticsearch/xpack/esql/action
- main
- antlr
- lexer
- java/org/elasticsearch/xpack/esql
- action
- expression/function/scalar/string/regex
- parser
- test/java/org/elasticsearch/xpack/esql
- analysis
- parser
- identity-provider
- qa/idp-rest-tests/src/javaRestTest/java/org/elasticsearch/xpack/idp
- src
- main/java/org/elasticsearch/xpack/idp
- saml
- authn
- sp
- test/java/org/elasticsearch/xpack/idp
- action
- saml
- authn
- sp
- ilm/src
- main/java/org/elasticsearch/xpack/ilm
- action
- test/java/org/elasticsearch/xpack/ilm
- migrate/src/main/java/org/elasticsearch/system_indices/task
- ml/src/main/java/org/elasticsearch/xpack/ml
- action
- inference
- assignment
- persistence
- slm/src/main/java/org/elasticsearch/xpack/slm
- action
- src/yamlRestTest/resources/rest-api-spec/test/esql
- transform/src/main/java/org/elasticsearch/xpack/transform/action
- watcher/src/main/java/org/elasticsearch/xpack/watcher/transport/actions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
109 files changed
+3231
-2303
lines changedLines changed: 108 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 74 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Lines changed: 118 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments