aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-11-08 22:40:55 -0800
committerChris Lu <chris.lu@gmail.com>2019-11-08 22:41:02 -0800
commit84c503c6a7eabb0f6924f705a60e39e521ceb5fb (patch)
tree6a0e1a067defe8357f4e2ecfe7103b6fede03e97
parent6cc9e0d788722e3b78767db0acf33519a7b28645 (diff)
downloadseaweedfs-84c503c6a7eabb0f6924f705a60e39e521ceb5fb.tar.xz
seaweedfs-84c503c6a7eabb0f6924f705a60e39e521ceb5fb.zip
adjust ec reading log level
-rw-r--r--weed/storage/store_ec.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go
index 8271324cf..7e3f1a46c 100644
--- a/weed/storage/store_ec.go
+++ b/weed/storage/store_ec.go
@@ -288,7 +288,7 @@ func (s *Store) readRemoteEcShardInterval(ctx context.Context, sourceDataNodes [
}
for _, sourceDataNode := range sourceDataNodes {
- glog.V(4).Infof("read remote ec shard %d.%d from %s", vid, shardId, sourceDataNode)
+ glog.V(3).Infof("read remote ec shard %d.%d from %s", vid, shardId, sourceDataNode)
n, is_deleted, err = s.doReadRemoteEcShardInterval(ctx, sourceDataNode, needleId, vid, shardId, buf, offset)
if err == nil {
return
@@ -340,7 +340,7 @@ func (s *Store) doReadRemoteEcShardInterval(ctx context.Context, sourceDataNode
}
func (s *Store) recoverOneRemoteEcShardInterval(ctx context.Context, needleId types.NeedleId, ecVolume *erasure_coding.EcVolume, shardIdToRecover erasure_coding.ShardId, buf []byte, offset int64) (n int, is_deleted bool, err error) {
- glog.V(4).Infof("recover ec shard %d.%d from other locations", ecVolume.VolumeId, shardIdToRecover)
+ glog.V(3).Infof("recover ec shard %d.%d from other locations", ecVolume.VolumeId, shardIdToRecover)
enc, err := reedsolomon.New(erasure_coding.DataShardsCount, erasure_coding.ParityShardsCount)
if err != nil {