Browse Source

logs on error

pull/5955/head
chrislu 4 months ago
parent
commit
3b7bb62e38
  1. 1
      weed/server/master_grpc_server_assign.go

1
weed/server/master_grpc_server_assign.go

@ -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…
Cancel
Save