mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logs
This commit is contained in:
parent
dd78397fea
commit
756bcc032d
|
@ -91,7 +91,7 @@ func (ms *MasterServer) Assign(ctx context.Context, req *master_pb.AssignRequest
|
||||||
for time.Now().Sub(startTime) < maxTimeout {
|
for time.Now().Sub(startTime) < maxTimeout {
|
||||||
fid, count, dnList, err := ms.Topo.PickForWrite(req.Count, option)
|
fid, count, dnList, err := ms.Topo.PickForWrite(req.Count, option)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Warningf("PickForWrite error: %+v", err)
|
glog.Warningf("PickForWrite %+v: %v", req, err)
|
||||||
lastErr = err
|
lastErr = err
|
||||||
time.Sleep(200 * time.Millisecond)
|
time.Sleep(200 * time.Millisecond)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue