From 3b7bb62e38fed29235d292cdc76f7d92b8a89b52 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 26 Aug 2024 09:09:11 -0700 Subject: [PATCH] logs on error --- weed/server/master_grpc_server_assign.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/server/master_grpc_server_assign.go b/weed/server/master_grpc_server_assign.go index 4f95b4ff6..c45184541 100644 --- a/weed/server/master_grpc_server_assign.go +++ b/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)