From f2485ffdbeabd171c150e8dc37343b282c8c4567 Mon Sep 17 00:00:00 2001 From: Richard Artoul Date: Thu, 8 Aug 2019 13:00:10 -0400 Subject: [PATCH] change default repair consistency level --- src/dbnode/storage/repair/options.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dbnode/storage/repair/options.go b/src/dbnode/storage/repair/options.go index 57616b439b..f3ba6e4dde 100644 --- a/src/dbnode/storage/repair/options.go +++ b/src/dbnode/storage/repair/options.go @@ -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