File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -462,9 +462,6 @@ tests:
462462- class : org.elasticsearch.xpack.ml.integration.AutodetectMemoryLimitIT
463463 method : testTooManyByAndOverFields
464464 issue : https://github.com/elastic/elasticsearch/issues/132310
465- - class : org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryIT
466- method : testBadAsyncId
467- issue : https://github.com/elastic/elasticsearch/issues/132353
468465- class : org.elasticsearch.xpack.esql.inference.completion.CompletionOperatorTests
469466 method : testSimpleCircuitBreaking
470467 issue : https://github.com/elastic/elasticsearch/issues/132382
Original file line number Diff line number Diff line change @@ -124,7 +124,9 @@ public EsqlExecutionInfo(StreamInput in) throws IOException {
124124 public void writeTo (StreamOutput out ) throws IOException {
125125 out .writeOptionalTimeValue (overallTook );
126126 if (clusterInfo != null ) {
127- out .writeCollection (clusterInfo .values ());
127+ // .stream().toList() creates an immutable copy of the cluster info entries
128+ // as today they might be still changing while serialization is happening
129+ out .writeCollection (clusterInfo .values ().stream ().toList ());
128130 } else {
129131 out .writeCollection (Collections .emptyList ());
130132 }
You can’t perform that action at this time.
0 commit comments