From ed77ecd620c42d4ba38d7160965ff921dbdf3dd9 Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Wed, 17 Jan 2024 12:27:05 +0100 Subject: [PATCH] Add more headsync logs --- nodespace/rpchandler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nodespace/rpchandler.go b/nodespace/rpchandler.go index 3a93f1b..c62f606 100644 --- a/nodespace/rpchandler.go +++ b/nodespace/rpchandler.go @@ -240,6 +240,7 @@ func (r *rpcHandler) HeadSync(ctx context.Context, req *spacesyncproto.HeadSyncR return } deepHeadSync = true + log.DebugCtx(ctx, "deep head sync", zap.String("spaceId", req.SpaceId), zap.Int("type", int(req.DiffType))) sp, err := r.s.GetSpace(ctx, req.SpaceId) if err != nil { return