ifndef-SleePy commented on a change in pull request #9853: 
[FLINK-13904][checkpointing] Avoid competition of checkpoint triggering
URL: https://github.com/apache/flink/pull/9853#discussion_r339072220
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
 ##########
 @@ -535,149 +528,142 @@ public boolean isShutdown() {
 
                // we will actually trigger this checkpoint!
 
-               // we lock with a special lock to make sure that trigger 
requests do not overtake each other.
-               // this is not done with the coordinator-wide lock, because the 
'checkpointIdCounter'
-               // may issue blocking operations. Using a different lock than 
the coordinator-wide lock,
-               // we avoid blocking the processing of 'acknowledge/decline' 
messages during that time.
-               synchronized (triggerLock) {
 
 Review comment:
   Done.

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


With regards,
Apache Git Services

Reply via email to