apache / incubator-hugegraph

A graph database that supports more than 100+ billion data, high performance and scalability (Include OLTP Engine & REST-API & Backends)
https://hugegraph.apache.org
Apache License 2.0
2.66k stars 520 forks source link

fix(pd): Ensure range attribute thread safety #2641

Closed haohao0103 closed 2 months ago

haohao0103 commented 3 months ago

close #2634 Added a custom SynchronizedRangeMap that provides thread safe put/get and other methods to ensure thread safety of GraphCache range attr

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.

Project coverage is 34.98%. Comparing base (1c577de) to head (dfc9ce6). Report is 231 commits behind head on master.

Files with missing lines Patch % Lines
...ava/org/apache/hugegraph/pd/common/GraphCache.java 0.00% 22 Missing :warning:

:exclamation: There is a different number of reports uploaded between BASE (1c577de) and HEAD (dfc9ce6). Click for more details.

HEAD has 3 uploads less than BASE | Flag | BASE (1c577de) | HEAD (dfc9ce6) | |------|------|------| ||4|1|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2641 +/- ## ============================================= - Coverage 45.35% 34.98% -10.37% + Complexity 496 383 -113 ============================================= Files 719 719 Lines 58465 58486 +21 Branches 7495 7495 ============================================= - Hits 26514 20464 -6050 - Misses 29230 35763 +6533 + Partials 2721 2259 -462 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label