Skip to content

Commit d5fb394

Browse files
committed
Undo status fix
1 parent 9f927b2 commit d5fb394

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/AsyncOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public IsBlockedResult isBlocked() {
238238

239239
@Override
240240
public final Operator.Status status() {
241-
return status(checkpoint.getMaxSeqNo() + 1, checkpoint.getProcessedCheckpoint() + 1, processNanos.sum());
241+
return status(Math.max(0L, checkpoint.getMaxSeqNo()), Math.max(0L, checkpoint.getProcessedCheckpoint()), processNanos.sum());
242242
}
243243

244244
protected Operator.Status status(long receivedPages, long completedPages, long processNanos) {

0 commit comments

Comments
 (0)