From f9654ce9949de70ee06481772a35d0c39e79a8c1 Mon Sep 17 00:00:00 2001 From: ashmrtn Date: Mon, 27 Mar 2023 15:09:05 -0700 Subject: [PATCH] Set default compressor to zstd-better-compression (#2954) Will only be picked up by newly created repos. Existing repos will continue to use s2-default compressor. --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [ ] :computer: CI/Deployment - [x] :broom: Tech Debt/Cleanup #### Issue(s) * closes #2840 #### Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/internal/kopia/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/kopia/conn.go b/src/internal/kopia/conn.go index f9bee1e04..daf4bd681 100644 --- a/src/internal/kopia/conn.go +++ b/src/internal/kopia/conn.go @@ -24,7 +24,7 @@ import ( const ( defaultKopiaConfigDir = "/tmp/" defaultKopiaConfigFile = "repository.config" - defaultCompressor = "s2-default" + defaultCompressor = "zstd-better-compression" // Interval of 0 disables scheduling. defaultSchedulingInterval = time.Second * 0 )