xline-kv / Xline

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

fix: add txn retry logic #776

Closed Phoenix500526 closed 2 months ago

Phoenix500526 commented 2 months ago

Refs: #774 Closes: #774

Please briefly answer these questions:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 57.98319% with 50 lines in your changes are missing coverage. Please review.

Project coverage is 75.59%. Comparing base (e35b35a) to head (8f4f038). Report is 14 commits behind head on master.

:exclamation: Current head 8f4f038 differs from pull request most recent head ebda1ef. Consider uploading reports for the commit ebda1ef to get more accurate results

Files Patch % Lines
crates/xline/src/utils/args.rs 0.00% 18 Missing :warning:
crates/engine/src/rocksdb_engine/mod.rs 84.21% 3 Missing and 6 partials :warning:
crates/curp/src/server/curp_node.rs 0.00% 5 Missing :warning:
crates/xlinectl/src/command/watch.rs 0.00% 5 Missing :warning:
crates/xline/src/storage/auth_store/store.rs 20.00% 4 Missing :warning:
crates/xline/src/storage/lease_store/mod.rs 50.00% 2 Missing :warning:
crates/curp-test-utils/src/test_cmd.rs 80.00% 0 Missing and 1 partial :warning:
crates/curp/src/server/cmd_worker/mod.rs 0.00% 1 Missing :warning:
crates/xline-client/src/clients/auth.rs 75.00% 0 Missing and 1 partial :warning:
crates/xline-client/src/clients/kv.rs 75.00% 0 Missing and 1 partial :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #776 +/- ## ========================================== + Coverage 75.55% 75.59% +0.04% ========================================== Files 180 182 +2 Lines 26938 27056 +118 Branches 26938 27056 +118 ========================================== + Hits 20353 20454 +101 - Misses 5366 5385 +19 + Partials 1219 1217 -2 ```

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