Skip to content

Commit fbf7606

Browse files
committed
ESQL: FIx Driver creating status with a live list of operators
1 parent fe4a523 commit fbf7606

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/Driver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ private void updateStatus(long extraCpuNanos, int extraIterations, DriverStatus.
556556
prev.cpuNanos() + extraCpuNanos,
557557
prev.iterations() + extraIterations,
558558
status,
559-
statusOfCompletedOperators,
559+
new ArrayList<>(statusOfCompletedOperators),
560560
activeOperators.stream().map(op -> new OperatorStatus(op.toString(), op.status())).toList(),
561561
sleeps
562562
);

0 commit comments

Comments
 (0)