mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 12:49:41 +08:00
logs on error
This commit is contained in:
parent
0d435f9da4
commit
3b7bb62e38
@ -96,6 +96,7 @@ func (ms *MasterServer) Assign(ctx context.Context, req *master_pb.AssignRequest
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
glog.V(0).Infof("assign %v %v: %v", req, option.String(), err)
|
||||
stats.MasterPickForWriteErrorCounter.Inc()
|
||||
lastErr = err
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
|
Loading…
Reference in New Issue
Block a user