Skip to content

Commit

Permalink
change default repair consistency level
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Artoul committed Aug 8, 2019
1 parent 5ba7ab1 commit f2485ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dbnode/storage/repair/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ import (
)

const (
defaultRepairConsistencyLevel = topology.ReadConsistencyLevelMajority
// Allow repairs to progress when a single peer is down (I.E during single node failure
// or deployments).
defaultRepairConsistencyLevel = topology.ReadConsistencyLevelUnstrictMajority
defaultRepairCheckInterval = time.Minute
defaultRepairThrottle = 90 * time.Second
defaultRepairShardConcurrency = 1
Expand Down

0 comments on commit f2485ff

Please sign in to comment.