xline-kv / Xline

A geo-distributed KV store for metadata management
https://xline.cloud
Apache License 2.0
562 stars 70 forks source link

fix: lease keys in conflict pool #861

Open bsbds opened 1 week ago

bsbds commented 1 week ago

Depends-On: #852

Fix lease related logic in conflict pools.

Please briefly answer these questions:

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 94.94949% with 20 lines in your changes missing coverage. Please review.

Project coverage is 75.78%. Comparing base (e35b35a) to head (3d109cb). Report is 132 commits behind head on master.

Files Patch % Lines
crates/xline/src/conflict/tests.rs 94.84% 0 Missing and 10 partials :warning:
crates/xline/src/conflict/spec_pool.rs 88.88% 4 Missing :warning:
crates/curp/src/server/conflict/mod.rs 50.00% 3 Missing :warning:
crates/xline/src/conflict/uncommitted_pool.rs 93.93% 2 Missing :warning:
crates/xlineapi/src/lib.rs 97.14% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #861 +/- ## ========================================== + Coverage 75.55% 75.78% +0.23% ========================================== Files 180 188 +8 Lines 26938 28045 +1107 Branches 26938 28045 +1107 ========================================== + Hits 20353 21255 +902 - Misses 5366 5488 +122 - Partials 1219 1302 +83 ```

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