terrymanu opened a new issue, #18991:
URL: https://github.com/apache/shardingsphere/issues/18991

   LockContext.tryLock() is good practice of database lock.
   For each lock progress, it is better to call tryLock first until timeout.
   
   I am not sure what is the useful of `isLocked` method, can it be instead of 
tryLock?


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