Description
CI Link
https://gradle-enterprise.elastic.co/s/oun3j3sbnefa4
https://gradle-enterprise.elastic.co/s/oowi2f34to2my
https://gradle-enterprise.elastic.co/s/eshizvpc7fveu
https://gradle-enterprise.elastic.co/s/xgjv3ll6oxvgo
https://gradle-enterprise.elastic.co/s/w7r75aasovwlo
https://gradle-enterprise.elastic.co/s/ftjtjl5ebkduy
https://gradle-enterprise.elastic.co/s/yncmwdnuvccwu
Repro line
does not apply
Does it reproduce?
Yes, via
./gradlew ":x-pack:plugin:esql:qa:server:mixed-cluster:v9.0.4#javaRestTest" -Dtests.class="org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT" -Dtests.method="test {where-like.FieldNotLike *" -Dtests.iters=6
Applicable branches
main
Failure history
No response
Failure excerpt
[2025-06-25T14:28:24,464][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [test-cluster-2] fatal error in thread [elasticsearch[test-cluster-2][clusterApplierService#updateTask][T#1]], exiting java.lang.AssertionError: provided source [{"_doc":{"properties":{"id":{"type":"long"},"vector":{"type":"dense_vector","index":true,"similarity":"l2_norm"}}}}] differs from mapping [{"_doc":{"properties":{"id":{"type":"long"},"vector":{"type":"dense_vector","index":true,"similarity":"l2_norm","index_options":{"type":"int8_hnsw","m":16,"ef_construction":100}}}}}]
at [email protected]/org.elasticsearch.index.mapper.DocumentMapper.<init>(DocumentMapper.java:72)
at [email protected]/org.elasticsearch.index.mapper.MapperService.newDocumentMapper(MapperService.java:607)
at [email protected]/org.elasticsearch.index.mapper.MapperService.updateMapping(MapperService.java:359)
at [email protected]/org.elasticsearch.index.IndexService.updateMapping(IndexService.java:857)
at [email protected]/org.elasticsearch.indices.cluster.IndicesClusterStateService.createIndicesAndUpdateShards(IndicesClusterStateService.java:585)
at [email protected]/org.elasticsearch.indices.cluster.IndicesClusterStateService.doApplyClusterState(IndicesClusterStateService.java:308)
at [email protected]/org.elasticsearch.indices.cluster.IndicesClusterStateService.applyClusterState(IndicesClusterStateService.java:262)
at [email protected]/org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:570)
at [email protected]/org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:556)
at [email protected]/org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:529)
at [email protected]/org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:458)
at [email protected]/org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:157)
at [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:977)
at [email protected]/org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:218)
at [email protected]/org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:184)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619)
at java.base/java.lang.Thread.run(Thread.java:1447)