tikv / raft-engine

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

Default enable log recycling #265

Closed LykxSassinator closed 2 years ago

LykxSassinator commented 2 years ago

Description

Default enable log recycling. Close #263.

Signed-off-by: Lucasliang nkcs_lykx@hotmail.com

codecov[bot] commented 2 years ago

Codecov Report

Base: 97.71% // Head: 97.65% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (72b77d9) compared to base (62a69a8). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #265 +/- ## ========================================== - Coverage 97.71% 97.65% -0.07% ========================================== Files 30 30 Lines 10644 10645 +1 ========================================== - Hits 10401 10395 -6 - Misses 243 250 +7 ``` | [Impacted Files](https://codecov.io/gh/tikv/raft-engine/pull/265?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | Coverage Δ | | |---|---|---| | [src/config.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL2NvbmZpZy5ycw==) | `96.68% <100.00%> (-0.67%)` | :arrow_down: | | [tests/failpoints/test\_engine.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-dGVzdHMvZmFpbHBvaW50cy90ZXN0X2VuZ2luZS5ycw==) | `99.84% <100.00%> (+<0.01%)` | :arrow_up: | | [src/consistency.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL2NvbnNpc3RlbmN5LnJz) | `91.11% <0.00%> (-2.23%)` | :arrow_down: | | [src/env/default.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL2Vudi9kZWZhdWx0LnJz) | `92.39% <0.00%> (-1.64%)` | :arrow_down: | | [src/log\_batch.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL2xvZ19iYXRjaC5ycw==) | `97.97% <0.00%> (-0.41%)` | :arrow_down: | | [src/purge.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL3B1cmdlLnJz) | `97.45% <0.00%> (-0.29%)` | :arrow_down: | | [src/env/mod.rs](https://codecov.io/gh/tikv/raft-engine/pull/265/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#diff-c3JjL2Vudi9tb2QucnM=) | `100.00% <0.00%> (+33.33%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.