diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-21 10:17:12 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-21 10:17:12 -0700 |
| commit | a8114da02dddd65b0371e7a9e6a5125d085c55d4 (patch) | |
| tree | 882da8fc265ccf89674f80d0751652e4f137b6a6 | |
| parent | ae74d8f02a1eefad220bb9649db5b2c5ed032d3b (diff) | |
| download | seaweedfs-a8114da02dddd65b0371e7a9e6a5125d085c55d4.tar.xz seaweedfs-a8114da02dddd65b0371e7a9e6a5125d085c55d4.zip | |
avoid thundering herd effect
transient errors may cause thundering herd effect to all trying to recover from remove ec shards
| -rw-r--r-- | weed/storage/store_ec.go | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
