nic-6443 commented on code in PR #12338:
URL: https://github.com/apache/apisix/pull/12338#discussion_r2157842087
##########
apisix/utils/batch-processor.lua:
##########
@@ -107,7 +107,7 @@ function execute_func(premature, self, batch)
end
return
end
-
+ self.processed_entries = self.processed_entries + #batch.entries
Review Comment:
please read `first_fail` case again that will update `batch.entries` after
sent paritial batch successfully, in this case, `self.processed_entries` still
has problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]