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:
462
462
- class : org.elasticsearch.xpack.ml.integration.AutodetectMemoryLimitIT
463
463
method : testTooManyByAndOverFields
464
464
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
468
465
- class : org.elasticsearch.xpack.esql.inference.completion.CompletionOperatorTests
469
466
method : testSimpleCircuitBreaking
470
467
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 {
124
124
public void writeTo (StreamOutput out ) throws IOException {
125
125
out .writeOptionalTimeValue (overallTook );
126
126
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 ());
128
130
} else {
129
131
out .writeCollection (Collections .emptyList ());
130
132
}
You can’t perform that action at this time.
0 commit comments