MrCroxx / RunKV

[WIP] An experimental cloud-native distributed KV engine for OLTP workload.
MIT License
68 stars 7 forks source link

feat: add tokio-console and parking_log deadlock detection support #161

Closed MrCroxx closed 2 years ago

MrCroxx commented 2 years ago

As titled.

Example (enable tokio-console and deadlock detection):

RUSTFLAGS="--cfg tokio_unstable" RUNKV_METRICS=true RUST_BACKTRACE=1 cargo run --features console,deadlock --release --package runkv-bench --bin bench_kv -- --loop 1000

Ref: #160 .

codecov[bot] commented 2 years ago

Codecov Report

Merging #161 (35766b7) into main (5a263b0) will decrease coverage by 0.01%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
- Coverage   83.94%   83.93%   -0.02%     
==========================================
  Files          85       85              
  Lines        8386     8398      +12     
==========================================
+ Hits         7040     7049       +9     
- Misses       1346     1349       +3     
Impacted Files Coverage Δ
common/src/log.rs 0.00% <0.00%> (ø)
wheel/src/worker/raft.rs 94.66% <0.00%> (ø)
storage/src/raft_log_store/log.rs 88.71% <0.00%> (+0.38%) :arrow_up:
client/src/client.rs 71.59% <0.00%> (+0.56%) :arrow_up:
wheel/src/components/raft_log_store.rs 67.08% <0.00%> (+0.63%) :arrow_up:
storage/src/raft_log_store/store.rs 90.52% <0.00%> (+1.05%) :arrow_up:
storage/src/utils/coding.rs 96.55% <0.00%> (+1.37%) :arrow_up:
storage/src/raft_log_store/block_cache.rs 93.75% <0.00%> (+2.08%) :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 5a263b0...35766b7. Read the comment docs.