zhuzhurk commented on a change in pull request #12278:
URL: https://github.com/apache/flink/pull/12278#discussion_r433114179



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPoolImpl.java
##########
@@ -698,13 +680,13 @@ boolean offerSlot(
 
                componentMainThreadExecutor.assertRunningInMainThread();
 
-               final PendingRequest pendingRequest = 
pendingRequests.removeKeyB(allocationID);
+               final PendingRequest pendingRequest = 
pendingRequests.getKeyB(allocationID);

Review comment:
       Sure we can have a separate PR to centralize pending requests removal.




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