nic-6443 commented on code in PR #12338:
URL: https://github.com/apache/apisix/pull/12338#discussion_r2155846154


##########
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:
   and for whole `not ok` case, the failed batch will be discard after exceed 
`max_retry_count`, in this case, batch will be free too, so it should be 
counting in `processed_entries` too.



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to