From 8e023b8bbf911d1c7c9e485d6351511fc39d5cf9 Mon Sep 17 00:00:00 2001 From: littleskunk Date: Mon, 20 May 2019 16:18:16 +0200 Subject: [PATCH] improve logging (#2004) --- pkg/storage/ec/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/storage/ec/client.go b/pkg/storage/ec/client.go index d31551c03..35f169f45 100644 --- a/pkg/storage/ec/client.go +++ b/pkg/storage/ec/client.go @@ -264,6 +264,8 @@ func (ec *ecClient) Repair(ctx context.Context, limits []*pb.AddressedOrderLimit return nil, nil, Error.New("repair to all nodes failed") } + zap.S().Infof("Successfully repaired %s to %d nodes.", path, atomic.LoadInt32(&successfulCount)) + return successfulNodes, successfulHashes, nil }