ijuma commented on a change in pull request #8657:
URL: https://github.com/apache/kafka/pull/8657#discussion_r479689457



##########
File path: core/src/main/scala/kafka/server/ActionQueue.scala
##########
@@ -37,7 +37,10 @@ class ActionQueue {
    * picks up an action to complete.
    */
   def tryCompleteAction(): Unit = {
-    val action = queue.poll()
-    if (action != null) action()
+    var action = queue.poll()
+    while (action != null) {
+      action()

Review comment:
       Main thing to decide is what to do in case of exception, do we stop 
processing or do we continue?




----------------------------------------------------------------
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.

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


Reply via email to