logs on error

This commit is contained in:
chrislu 2024-08-26 09:09:11 -07:00
parent 0d435f9da4
commit 3b7bb62e38

View File

@ -96,6 +96,7 @@ func (ms *MasterServer) Assign(ctx context.Context, req *master_pb.AssignRequest
} }
} }
if err != nil { if err != nil {
glog.V(0).Infof("assign %v %v: %v", req, option.String(), err)
stats.MasterPickForWriteErrorCounter.Inc() stats.MasterPickForWriteErrorCounter.Inc()
lastErr = err lastErr = err
time.Sleep(200 * time.Millisecond) time.Sleep(200 * time.Millisecond)