mirage / irmin

Irmin is a distributed database that follows the same design principles as Git
https://irmin.org
ISC License
1.84k stars 153 forks source link

irmin-pack: archive only reachable objects #2215

Closed art-w closed 1 year ago

art-w commented 1 year ago

Update the GC step "copy deleted data to lower volume" to not include the (orphaned) unreachable commits (and their tree).

codecov-commenter commented 1 year ago

Codecov Report

Merging #2215 (4eb6118) into main (0ffa990) will decrease coverage by 0.11%. The diff coverage is 0.00%.

:exclamation: Current head 4eb6118 differs from pull request most recent head 9e4e537. Consider uploading reports for the commit 9e4e537 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main    #2215      +/-   ##
==========================================
- Coverage   68.07%   67.96%   -0.11%     
==========================================
  Files         135      135              
  Lines       16458    16478      +20     
==========================================
- Hits        11203    11199       -4     
- Misses       5255     5279      +24     
Impacted Files Coverage Δ
src/irmin-pack/unix/errors.ml 28.88% <ø> (ø)
src/irmin-pack/unix/gc_worker.ml 3.82% <0.00%> (-0.44%) :arrow_down:
src/irmin-pack/unix/io_errors.ml 58.33% <ø> (ø)
src/irmin-pack/unix/lower.ml 60.28% <0.00%> (-1.77%) :arrow_down:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more