Open tayfunelmas opened 1 month ago
Attention: Patch coverage is 23.07692%
with 20 lines
in your changes missing coverage. Please review.
Project coverage is 71.82%. Comparing base (
3d46ee4
) to head (5c5d00a
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
tools/database/src/utils.rs | 0.00% | 16 Missing :warning: |
tools/database/src/compact.rs | 0.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Current
neard database compact-database
command runs compaction on Hot db by default.We add an option to run compaction on cold db. We will also use this to run some experiments on cleaning up data in cold storage followed-up with compaction.
The command continues to run on Hot DB by default and cold storage is only enabled by adding a
-t cold
flag.Also change utils to use
DBOpener
to fix a bug about not opening the right db path (previously home directory path was not joined with the db directory name).