Skip to content

Commit a06803a

Browse files
committed
Merge remote-tracking branch 'es/main' into logsdb_search_only_snapshots
2 parents 04c4bb1 + 3810864 commit a06803a

File tree

55 files changed

+1642
-782
lines changed

Some content is hidden

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

55 files changed

+1642
-782
lines changed

docs/changelog/121156.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121156
2+
summary: Remove redundant sorts from execution plan
3+
area: ES|QL
4+
type: bug
5+
issues: []

docs/changelog/121720.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121720
2+
summary: Skip fetching _inference_fields field in legacy semantic_text format
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/121821.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 121821
2+
summary: Fix get all inference endponts not returning multiple endpoints sharing model
3+
deployment
4+
area: Machine Learning
5+
type: bug
6+
issues: []

docs/changelog/122011.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 122011
2+
summary: Fix JOIN command validation (not supported)
3+
area: EQL
4+
type: bug
5+
issues: []

gradle/verification-metadata.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,14 +904,14 @@
904904
<sha256 value="f8f5c726c8c615a94d9d6cd1073787f9c554841ae24c8bab5cd73481ea2021a8" origin="Generated by Gradle"/>
905905
</artifact>
906906
</component>
907-
<component group="com.maxmind.db" name="maxmind-db" version="3.1.0">
908-
<artifact name="maxmind-db-3.1.0.jar">
909-
<sha256 value="2c8033081b1215dc57f5ae0e0de95cf91eb54144fccae4db35a47eb5d1101afc" origin="Generated by Gradle"/>
907+
<component group="com.maxmind.db" name="maxmind-db" version="3.1.1">
908+
<artifact name="maxmind-db-3.1.1.jar">
909+
<sha256 value="16ff5f6779f1964bf814150f73a8af1e657bd669ad9fd13040bcd406460007e1" origin="Generated by Gradle"/>
910910
</artifact>
911911
</component>
912-
<component group="com.maxmind.geoip2" name="geoip2" version="4.2.0">
913-
<artifact name="geoip2-4.2.0.jar">
914-
<sha256 value="5981ac68332deebdf52e7a7f96a0bef5f320012fa930f3778ee1e9c827a80dbd" origin="Generated by Gradle"/>
912+
<component group="com.maxmind.geoip2" name="geoip2" version="4.2.1">
913+
<artifact name="geoip2-4.2.1.jar">
914+
<sha256 value="1492bf8d29f8059c9e2f6ec2ce85c5e05e2d379a366427c8923fef124801c118" origin="Generated by Gradle"/>
915915
</artifact>
916916
</component>
917917
<component group="com.microsoft.azure" name="azure-core" version="0.9.3">

modules/ingest-geoip/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ tasks.named('internalClusterTestTestingConventions').configure {
2828
}
2929

3030
dependencies {
31-
implementation('com.maxmind.geoip2:geoip2:4.2.0')
31+
implementation('com.maxmind.geoip2:geoip2:4.2.1')
3232
// geoip2 dependencies:
3333
runtimeOnly("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
3434
runtimeOnly("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}")
3535
runtimeOnly("com.fasterxml.jackson.core:jackson-core:${versions.jackson}")
36-
implementation('com.maxmind.db:maxmind-db:3.1.0')
36+
implementation('com.maxmind.db:maxmind-db:3.1.1')
3737

3838
testImplementation 'org.elasticsearch:geolite2-databases:20191119'
3939
internalClusterTestImplementation project(':modules:reindex')

muted-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,6 @@ tests:
361361
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
362362
method: test {yaml=reference/cat/health/cat-health-no-timestamp-example}
363363
issue: https://github.com/elastic/elasticsearch/issues/121867
364-
- class: org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests
365-
method: testCreateAndRestorePartialSearchableSnapshot
366-
issue: https://github.com/elastic/elasticsearch/issues/121927
367364
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
368365
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
369366
issue: https://github.com/elastic/elasticsearch/issues/121625
@@ -410,6 +407,15 @@ tests:
410407
- class: org.elasticsearch.search.SearchCancellationIT
411408
method: testCancelFailedSearchWhenPartialResultDisallowed
412409
issue: https://github.com/elastic/elasticsearch/issues/121719
410+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
411+
method: testChangePoint
412+
issue: https://github.com/elastic/elasticsearch/issues/122179
413+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
414+
method: testChangePoint_keySortable
415+
issue: https://github.com/elastic/elasticsearch/issues/122180
416+
- class: org.elasticsearch.xpack.esql.analysis.VerifierTests
417+
method: testChangePoint_valueNumeric
418+
issue: https://github.com/elastic/elasticsearch/issues/122181
413419

414420
# Examples:
415421
#

server/src/internalClusterTest/java/org/elasticsearch/search/SearchTimeoutIT.java

Lines changed: 259 additions & 62 deletions
Large diffs are not rendered by default.

server/src/main/java/org/elasticsearch/common/settings/IndexScopedSettings.java

Lines changed: 186 additions & 171 deletions
Large diffs are not rendered by default.

server/src/main/java/org/elasticsearch/index/IndexSettings.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,14 @@ public boolean isES87TSDBCodecEnabled() {
685685
Property.Final
686686
);
687687

688+
public static final FeatureFlag DOC_VALUES_SKIPPER = new FeatureFlag("doc_values_skipper");
689+
public static final Setting<Boolean> USE_DOC_VALUES_SKIPPER = Setting.boolSetting(
690+
"index.mapping.use_doc_values_skipper",
691+
IndexSettings.DOC_VALUES_SKIPPER.isEnabled(),
692+
Property.IndexScope,
693+
Property.Final
694+
);
695+
688696
/**
689697
* The {@link IndexMode "mode"} of the index.
690698
*/
@@ -922,6 +930,7 @@ private void setRetentionLeaseMillis(final TimeValue retentionLease) {
922930
private final SourceFieldMapper.Mode indexMappingSourceMode;
923931
private final boolean recoverySourceEnabled;
924932
private final boolean recoverySourceSyntheticEnabled;
933+
private final boolean useDocValuesSkipper;
925934

926935
/**
927936
* The maximum number of refresh listeners allows on this shard.
@@ -1103,6 +1112,7 @@ public IndexSettings(final IndexMetadata indexMetadata, final Settings nodeSetti
11031112
recoverySourceEnabled = RecoverySettings.INDICES_RECOVERY_SOURCE_ENABLED_SETTING.get(nodeSettings);
11041113
recoverySourceSyntheticEnabled = DiscoveryNode.isStateless(nodeSettings) == false
11051114
&& scopedSettings.get(RECOVERY_USE_SYNTHETIC_SOURCE_SETTING);
1115+
useDocValuesSkipper = DOC_VALUES_SKIPPER.isEnabled() && scopedSettings.get(USE_DOC_VALUES_SKIPPER);
11061116
if (recoverySourceSyntheticEnabled) {
11071117
if (DiscoveryNode.isStateless(settings)) {
11081118
throw new IllegalArgumentException("synthetic recovery source is only allowed in stateful");
@@ -1822,6 +1832,10 @@ public boolean isRecoverySourceSyntheticEnabled() {
18221832
return recoverySourceSyntheticEnabled;
18231833
}
18241834

1835+
public boolean useDocValuesSkipper() {
1836+
return useDocValuesSkipper;
1837+
}
1838+
18251839
/**
18261840
* The bounds for {@code @timestamp} on this index or
18271841
* {@code null} if there are no bounds.

0 commit comments

Comments
 (0)