mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge pull request #66592 from ClickHouse/very_important_fix
Fix bsdtar for @nikitamikhaylov
This commit is contained in:
commit
ae93cceb9e
@ -58,14 +58,14 @@ def decompress_fast(archive_path: Path, result_path: Optional[Path] = None) -> N
|
|||||||
archive_path,
|
archive_path,
|
||||||
result_path,
|
result_path,
|
||||||
)
|
)
|
||||||
program_part = "--use-compress-program='zstd --threads=0'"
|
program_part = "--use-compress-program='zstd --threads=0 -d'"
|
||||||
elif PIGZ.exists():
|
elif PIGZ.exists():
|
||||||
logging.info(
|
logging.info(
|
||||||
"pigz found, will compress and decompress faster ('%s' -> '%s')",
|
"pigz found, will compress and decompress faster ('%s' -> '%s')",
|
||||||
archive_path,
|
archive_path,
|
||||||
result_path,
|
result_path,
|
||||||
)
|
)
|
||||||
program_part = "--use-compress-program='pigz'"
|
program_part = "--use-compress-program='pigz -d'"
|
||||||
else:
|
else:
|
||||||
program_part = "-z"
|
program_part = "-z"
|
||||||
logging.info(
|
logging.info(
|
||||||
|
Loading…
Reference in New Issue
Block a user