Browse Source

more logs

pull/1377/head
Chris Lu 5 years ago
parent
commit
32a1f22730
  1. 2
      weed/storage/store_ec.go

2
weed/storage/store_ec.go

@ -180,7 +180,7 @@ func (s *Store) readOneEcShardInterval(needleId types.NeedleId, ecVolume *erasur
data = make([]byte, interval.Size)
if shard, found := ecVolume.FindEcVolumeShard(shardId); found {
if _, err = shard.ReadAt(data, actualOffset); err != nil {
glog.V(0).Infof("read local ec shard %d.%d: %v", ecVolume.VolumeId, shardId, err)
glog.V(0).Infof("read local ec shard %d.%d offset %d: %v", ecVolume.VolumeId, shardId, actualOffset, err)
return
}
} else {

Loading…
Cancel
Save