dasahcc commented on a change in pull request #1064:
URL: https://github.com/apache/helix/pull/1064#discussion_r435660562



##########
File path: helix-core/src/main/java/org/apache/helix/task/TaskDriver.java
##########
@@ -403,6 +403,14 @@ public void enqueueJobs(final String queue, final 
List<String> jobs,
       }
     }
 
+    // Fail the operation if adding new jobs will cause the queue to reach its 
capacity limit

Review comment:
       We can implement the rollback function at line 453 when we are throwing 
out the exception.




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to