apache / incubator-hugegraph-commons

(Archived Warning)Please visit "apache/hugegraph" repo instead
https://github.com/apache/hugegraph/tree/master/hugegraph-commons
Apache License 2.0
29 stars 45 forks source link

Support RowLock in LockGroup #39

Closed zhoney closed 5 years ago

zhoney commented 5 years ago

Change-Id: I725e4504ad221fa6242d9cd1ae1d093301e35917

codecov[bot] commented 5 years ago

Codecov Report

Merging #39 into master will increase coverage by 0.18%. The diff coverage is 80.76%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #39      +/-   ##
============================================
+ Coverage     77.98%   78.17%   +0.18%     
- Complexity      570      586      +16     
============================================
  Files            54       55       +1     
  Lines          1817     1869      +52     
  Branches        268      275       +7     
============================================
+ Hits           1417     1461      +44     
- Misses          281      285       +4     
- Partials        119      123       +4
Impacted Files Coverage Δ Complexity Δ
...ava/com/baidu/hugegraph/version/CommonVersion.java 50% <ø> (ø) 1 <0> (ø) :arrow_down:
...n/java/com/baidu/hugegraph/concurrent/RowLock.java 80.43% <80.43%> (ø) 11 <11> (?)
...java/com/baidu/hugegraph/concurrent/LockGroup.java 95.65% <83.33%> (-4.35%) 13 <3> (+3)
.../main/java/com/baidu/hugegraph/event/EventHub.java 81.94% <0%> (+1.38%) 27% <0%> (+1%) :arrow_up:
.../main/java/com/baidu/hugegraph/perf/Stopwatch.java 87.75% <0%> (+2.04%) 21% <0%> (+1%) :arrow_up:

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 4eda631...0d487a3. Read the comment docs.

javeme commented 5 years ago

mysql lock_rec https://github.com/mysql/mysql-server/blob/4869291f7ee258e136ef03f5a50135fe7329ffb9/storage/innobase/lock/lock0lock.cc#L6468