xline-kv / Xline

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

fix: return error if put kv with nonexistent lease id #646

Closed themanforfree closed 8 months ago

themanforfree commented 8 months ago

Please briefly answer these questions:

codecov[bot] commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ddc45db) 75.29% compared to head (84e5f8b) 74.76%. Report is 14 commits behind head on master.

Files Patch % Lines
crates/xline/src/storage/kv_store.rs 66.66% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #646 +/- ## ========================================== - Coverage 75.29% 74.76% -0.54% ========================================== Files 158 167 +9 Lines 23392 24162 +770 Branches 23392 24162 +770 ========================================== + Hits 17614 18064 +450 - Misses 4672 4974 +302 - Partials 1106 1124 +18 ```

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