{cmd/uplink, lib/uplink}: change RS total to 110

Bump the uplink's RS Total value from 95 to 110.

Change-Id: I208beed17b5f53fe359847e0469a29fec80a4f7e
This commit is contained in:
Natalie Ventura Villasana 2020-01-08 16:44:57 -05:00 committed by Natalie Villasana
parent 455e14adde
commit 131c4d94f0
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ type RSConfig struct {
MinThreshold int `help:"the minimum pieces required to recover a segment. k." releaseDefault:"29" devDefault:"4" hidden:"true"` MinThreshold int `help:"the minimum pieces required to recover a segment. k." releaseDefault:"29" devDefault:"4" hidden:"true"`
RepairThreshold int `help:"the minimum safe pieces before a repair is triggered. m." releaseDefault:"35" devDefault:"6" hidden:"true"` RepairThreshold int `help:"the minimum safe pieces before a repair is triggered. m." releaseDefault:"35" devDefault:"6" hidden:"true"`
SuccessThreshold int `help:"the desired total pieces for a segment. o." releaseDefault:"80" devDefault:"8" hidden:"true"` SuccessThreshold int `help:"the desired total pieces for a segment. o." releaseDefault:"80" devDefault:"8" hidden:"true"`
MaxThreshold int `help:"the largest amount of pieces to encode to. n." releaseDefault:"95" devDefault:"10" hidden:"true"` MaxThreshold int `help:"the largest amount of pieces to encode to. n." releaseDefault:"110" devDefault:"10" hidden:"true"`
} }
// EncryptionConfig is a configuration struct that keeps details about // EncryptionConfig is a configuration struct that keeps details about

View File

@ -78,7 +78,7 @@ func (cfg *BucketConfig) setDefaults() {
cfg.Volatile.RedundancyScheme.OptimalShares = 80 cfg.Volatile.RedundancyScheme.OptimalShares = 80
} }
if cfg.Volatile.RedundancyScheme.TotalShares == 0 { if cfg.Volatile.RedundancyScheme.TotalShares == 0 {
cfg.Volatile.RedundancyScheme.TotalShares = 95 cfg.Volatile.RedundancyScheme.TotalShares = 110
} }
if cfg.Volatile.RedundancyScheme.ShareSize == 0 { if cfg.Volatile.RedundancyScheme.ShareSize == 0 {
cfg.Volatile.RedundancyScheme.ShareSize = 256 * memory.B.Int32() cfg.Volatile.RedundancyScheme.ShareSize = 256 * memory.B.Int32()