avoid thundering herd effect

transient errors may cause thundering herd effect to all trying to recover from remove ec shards
This commit is contained in:
Chris Lu 2021-04-21 10:17:12 -07:00
parent ae74d8f02a
commit a8114da02d

View file

@ -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