Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 16, 2022

Conversation

MrCroxx
Copy link
Owner

@MrCroxx MrCroxx commented May 16, 2022

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 .

@MrCroxx MrCroxx added the feature New feature. label May 16, 2022
@MrCroxx MrCroxx self-assigned this May 16, 2022
@MrCroxx MrCroxx changed the title feat: add tokio-console support feat: add tokio-console and parking_log deadlock detection support May 16, 2022
@MrCroxx MrCroxx enabled auto-merge (squash) May 16, 2022 09:43
@MrCroxx MrCroxx disabled auto-merge May 16, 2022 09:43
@MrCroxx MrCroxx enabled auto-merge (squash) May 16, 2022 09:44
@codecov
Copy link

codecov bot commented May 16, 2022

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%) ⬆️
client/src/client.rs 71.59% <0.00%> (+0.56%) ⬆️
wheel/src/components/raft_log_store.rs 67.08% <0.00%> (+0.63%) ⬆️
storage/src/raft_log_store/store.rs 90.52% <0.00%> (+1.05%) ⬆️
storage/src/utils/coding.rs 96.55% <0.00%> (+1.37%) ⬆️
storage/src/raft_log_store/block_cache.rs 93.75% <0.00%> (+2.08%) ⬆️

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.

@MrCroxx MrCroxx merged commit b75b946 into main May 16, 2022
@MrCroxx MrCroxx deleted the xx/tokio-console branch May 16, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant