dromara / hmily

Distributed transaction solutions
https://dromara.org
Apache License 2.0
4.11k stars 1.41k forks source link

fix try acquire locks bug #368

Closed zkyoma closed 1 year ago

zkyoma commented 1 year ago

For issue#367,when try accquire locks, add the check: if the existing lock's transaction ID matches the current transaction ID.

codecov-commenter commented 1 year ago

Codecov Report

Merging #368 (114ad60) into master (efca5b5) will not change coverage. The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@          Coverage Diff           @@
##           master    #368   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         444     444           
  Lines        8719    8727    +8     
  Branches     1432    1436    +4     
======================================
- Misses       8719    8727    +8     
Files Changed Coverage Δ
.../dromara/hmily/tac/core/lock/HmilyLockManager.java 0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more