Skip to content

Commit fd54ade

Browse files
committed
restore: add snapmk snapshot repacker
Adds a utility that compresses a snapshot.tar into a backwards- compatible snapshot.tar.zst that can be trivially streaming decompressed in parallel (requires no seek ability). Beats zstdmt version 1.5.5 by about 50-100% in parallel mode.
1 parent 4a5957a commit fd54ade

File tree

3 files changed

+776
-1
lines changed

3 files changed

+776
-1
lines changed

src/discof/restore/Local.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@ endif
4343
$(call add-objs,utils/fd_ssarchive,fd_discof)
4444
$(call add-objs,utils/fd_sspeer_selector,fd_discof)
4545
$(call add-objs,utils/fd_vinyl_io_wd,fd_discof)
46+
47+
ifdef FD_HAS_HOSTED
48+
ifdef FD_HAS_ZSTD
49+
$(call make-bin,fd_snapmk_para,fd_snapmk_para,fd_discof fd_flamenco fd_ballet fd_tango fd_util)
50+
endif
51+
endif

0 commit comments

Comments
 (0)