tikv / raft-engine

A persistent storage engine for Multi-Raft log
Apache License 2.0
565 stars 88 forks source link

factor out low level details for debugging purposes #157

Closed tabokie closed 2 years ago

tabokie commented 2 years ago

Factor out and export some interfaces for interacting with low level files:

codecov[bot] commented 2 years ago

Codecov Report

Merging #157 (1eb2755) into master (7d7d6fc) will decrease coverage by 0.16%. The diff coverage is 91.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #157      +/-   ##
==========================================
- Coverage   97.17%   97.00%   -0.17%     
==========================================
  Files          25       26       +1     
  Lines        6228     6515     +287     
==========================================
+ Hits         6052     6320     +268     
- Misses        176      195      +19     
Impacted Files Coverage Δ
src/consistency.rs 91.11% <ø> (ø)
src/engine.rs 93.02% <53.33%> (-1.88%) :arrow_down:
src/file_pipe_log/reader.rs 92.52% <81.81%> (+4.52%) :arrow_up:
src/file_pipe_log/mod.rs 97.29% <97.29%> (ø)
src/config.rs 92.40% <100.00%> (+0.62%) :arrow_up:
src/file_pipe_log/log_file.rs 95.38% <100.00%> (+3.22%) :arrow_up:
src/file_pipe_log/pipe.rs 99.39% <100.00%> (ø)
src/file_pipe_log/pipe_builder.rs 95.10% <100.00%> (ø)
src/log_batch.rs 98.38% <100.00%> (+<0.01%) :arrow_up:
src/pipe_log.rs 94.73% <100.00%> (+1.63%) :arrow_up:
... and 2 more

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 7d7d6fc...1eb2755. Read the comment docs.