Update archive_format.rs#33640
Conversation
Problem Argument errors for solana-validator v1.17.0 & v1.17.1 specifying '--snapshot-archive-format ' Running v1.17.1 produces error for any mentioned archive format lz4 or zstd - error: 'none' isn't a valid value for '--snapshot-archive-format <ARCHIVE_TYPE>' [possible values: lz4, zstd] Running v1.17.0 gives error: The argument '--snapshot-archive-format <ARCHIVE_TYPE>' was provided more than once, but cannot be used multiple times Summary of Changes return back line for "tar" | "none" => Some(ArchiveFormat::Tar), Fixes # the command line argument for lz4/zstd needs to be accepted as well
The options
That error is unrelated to version and is telling you directly what the problem is - you specified that argument more than once. |
Problem
Argument errors for solana-validator v1.17.0 & v1.17.1 specifying '--snapshot-archive-format '
Running v1.17.1 produces error for any mentioned archive format lz4 or zstd - error: 'none' isn't a valid value for '--snapshot-archive-format <ARCHIVE_TYPE>' [possible values: lz4, zstd]
Running v1.17.0 gives error: The argument '--snapshot-archive-format <ARCHIVE_TYPE>' was provided more than once, but cannot be used multiple times
Summary of Changes
return back line for "tar" | "none" => Some(ArchiveFormat::Tar),
Fixes #
the command line argument for lz4/zstd needs to be accepted as well