From a8114da02dddd65b0371e7a9e6a5125d085c55d4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 21 Apr 2021 10:17:12 -0700 Subject: [PATCH] avoid thundering herd effect transient errors may cause thundering herd effect to all trying to recover from remove ec shards --- weed/storage/store_ec.go | 1 - 1 file changed, 1 deletion(-) diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go index f4587ba01..9702fdd50 100644 --- a/weed/storage/store_ec.go +++ b/weed/storage/store_ec.go @@ -200,7 +200,6 @@ func (s *Store) readOneEcShardInterval(needleId types.NeedleId, ecVolume *erasur return } glog.V(0).Infof("clearing ec shard %d.%d locations: %v", ecVolume.VolumeId, shardId, err) - forgetShardId(ecVolume, shardId) } // try reading by recovering from other shards