heesung-sohn commented on PR #26146:
URL: https://github.com/apache/pulsar/pull/26146#issuecomment-5070972434

   >
   T1: map[serviceUnit] = F1
   T2: event handler removes and completes F1
   T3: a later lookup installs F2
   T4: F1 cleanup runs
   T5: F2 completes and removes itself
   
   
   At T4, what's the issue when it can return the ownership early? Isnt it 
better it doesn't need to wait til T5?
   
   Like I mentioned, the intention was to "early return any ownership". If F1 
contains valid ownership, without exception, it can save time til T5?
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to