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

   
   
   ### Which version of ShardingSphere did you use?
   master
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   get distributed locks successful
   
   ### Actual behavior
   get distributed lock occasionally failed.
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   ```
   ShardingSphereLock lock = instanceContext.getLockContext().getLock();
   boolean re = lock.tryLock(xaRecoveryId, 1000);
   ```
   kill -9 proxy
   
   ```
   ShardingSphereLock lock = instanceContext.getLockContext().getLock();
   boolean re = lock.tryLock(xaRecoveryId, 1000);
   ```
   
   
   ### Example codes for reproduce this issue (such as a github link).
   
   


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