Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix LockManager get/create race condition #53

Merged
merged 3 commits into from
Jul 24, 2020
Merged

Conversation

javeme
Copy link
Contributor

@javeme javeme commented Jul 23, 2020

Change-Id: I524a2d4d13a99f3943bfa0e4a44aa0ccf9c573a1

Change-Id: I524a2d4d13a99f3943bfa0e4a44aa0ccf9c573a1
@codecov
Copy link

codecov bot commented Jul 23, 2020

Codecov Report

Merging #53 into master will increase coverage by 3.07%.
The diff coverage is 90.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #53      +/-   ##
============================================
+ Coverage     81.76%   84.83%   +3.07%     
- Complexity      686      732      +46     
============================================
  Files            57       57              
  Lines          2089     2097       +8     
  Branches        304      309       +5     
============================================
+ Hits           1708     1779      +71     
+ Misses          251      184      -67     
- Partials        130      134       +4     
Impacted Files Coverage Δ Complexity Δ
...va/com/baidu/hugegraph/concurrent/LockManager.java 80.95% <71.42%> (+80.95%) 9.00 <4.00> (+9.00)
...ava/com/baidu/hugegraph/concurrent/AtomicLock.java 74.07% <100.00%> (+54.07%) 11.00 <2.00> (+9.00)
...n/java/com/baidu/hugegraph/concurrent/KeyLock.java 78.43% <100.00%> (+67.06%) 25.00 <18.00> (+22.00)
...n/java/com/baidu/hugegraph/concurrent/RowLock.java 92.85% <100.00%> (+16.77%) 16.00 <15.00> (+6.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f329f5...a7da8c5. Read the comment docs.

javeme added 2 commits July 23, 2020 17:08
Change-Id: I17abf10b3c4e7f41fdd82ce9a9423b9ffc5a07fd
Change-Id: I41f463a7e42a9b205c251ebc906cc850cdd4b7af
@houzhizhen houzhizhen merged commit 630e19f into master Jul 24, 2020
@javeme javeme deleted the LockManager-race-cond branch July 24, 2020 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants