gengliangwang commented on PR #36424:
URL: https://github.com/apache/spark/pull/36424#issuecomment-1116261702

   ```
   If Thread 1 gets the lock on listing before Thread 2, isStale will be false, 
the app will not be removed from KVStore
   If Thread 2 gets the lock on listing before Thread 1, then isStale will be 
true, the app will be removed from KVStore but after that it will be added 
again by Thread 1.
   In both case, the entry for the application will not be deleted unexpectedly 
from KVStore.
   ```
   @tanvn It seems that the description doesn't match the current 
implementation. Can you update it?


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


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

Reply via email to