Skip to content

Commit 04080fb

Browse files
authored
Merge branch 'main' into tvclean0
2 parents f82b04f + 6fa5f51 commit 04080fb

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,6 @@ tests:
418418
- class: org.elasticsearch.xpack.search.AsyncSearchConcurrentStatusIT
419419
method: testConcurrentStatusFetchWhileTaskCloses
420420
issue: https://github.com/elastic/elasticsearch/issues/138543
421-
- class: org.elasticsearch.xpack.logsdb.RandomizedRollingUpgradeIT
422-
method: testIndexingSyntheticSource
423-
issue: https://github.com/elastic/elasticsearch/issues/139152
424-
- class: org.elasticsearch.xpack.logsdb.RandomizedRollingUpgradeIT
425-
method: testIndexingStandardSource
426-
issue: https://github.com/elastic/elasticsearch/issues/139153
427421
- class: org.elasticsearch.xpack.core.security.authc.AuthenticationTests
428422
method: testMaybeRewriteForOlderVersionWithCrossClusterAccessRewritesAuthenticationInMetadata
429423
issue: https://github.com/elastic/elasticsearch/issues/139167

server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ public class DenseVectorFieldMapper extends FieldMapper {
134134
public static final String COSINE_MAGNITUDE_FIELD_SUFFIX = "._magnitude";
135135
public static final int BBQ_MIN_DIMS = 64;
136136

137-
private static final boolean DEFAULT_HNSW_EARLY_TERMINATION = false;
138-
139137
/**
140138
* The heuristic to utilize when executing a filtered search against vectors indexed in an HNSW graph.
141139
*/
@@ -183,7 +181,7 @@ public KnnSearchStrategy getKnnSearchStrategy() {
183181

184182
public static final Setting<Boolean> HNSW_EARLY_TERMINATION = Setting.boolSetting(
185183
"index.dense_vector.hnsw_enable_early_termination",
186-
DEFAULT_HNSW_EARLY_TERMINATION,
184+
Build.current().isSnapshot(),
187185
Setting.Property.IndexScope,
188186
Setting.Property.ServerlessPublic,
189187
Setting.Property.Dynamic

x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/xpack/logsdb/Clusters.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ public static ElasticsearchCluster oldVersionCluster(String user, String pass) {
3232
if (supportRetryOnShardFailures(oldVersion) == false) {
3333
cluster.setting("cluster.routing.rebalance.enable", "none");
3434
}
35+
36+
// Temporarily disable DocumentMapper and MapperService assertions for #138796
37+
// TODO reenable these assertions
38+
if (oldVersion.before(Version.fromString("9.3.0"))) {
39+
cluster.jvmArg("-da:org.elasticsearch.index.mapper.DocumentMapper");
40+
cluster.jvmArg("-da:org.elasticsearch.index.mapper.MapperService");
41+
}
42+
3543
return cluster.build();
3644
}
3745

0 commit comments

Comments
 (0)