Merge pull request #66592 from ClickHouse/very_important_fix

Fix bsdtar for @nikitamikhaylov
This commit is contained in:
Alexey Milovidov 2024-07-16 21:23:31 +00:00 committed by GitHub
commit ae93cceb9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,14 +58,14 @@ def decompress_fast(archive_path: Path, result_path: Optional[Path] = None) -> N
archive_path,
result_path,
)
program_part = "--use-compress-program='zstd --threads=0'"
program_part = "--use-compress-program='zstd --threads=0 -d'"
elif PIGZ.exists():
logging.info(
"pigz found, will compress and decompress faster ('%s' -> '%s')",
archive_path,
result_path,
)
program_part = "--use-compress-program='pigz'"
program_part = "--use-compress-program='pigz -d'"
else:
program_part = "-z"
logging.info(