From f57ef5622ae72e16c42cf21b5bc0d374d4b3a2ad Mon Sep 17 00:00:00 2001 From: irfan sharif Date: Fri, 11 Dec 2020 09:39:53 -0500 Subject: [PATCH] server: improve a logging message Release note: None --- pkg/server/node.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/server/node.go b/pkg/server/node.go index 3564def10584..cf9e293a2a91 100644 --- a/pkg/server/node.go +++ b/pkg/server/node.go @@ -1063,12 +1063,12 @@ func (n *Node) ResetQuorum( // Increment the generation so that the various caches will recognize this descriptor as newer. desc.IncrementGeneration() - log.Infof(ctx, "starting recovery using desc %+v", desc) + log.Infof(ctx, "initiating recovery process using %s", desc) + // Update the meta2 entry. Note that we're intentionally // eschewing updateRangeAddressing since the copy of the // descriptor that resides on the range itself has lost quorum. metaKey := keys.RangeMetaKey(desc.EndKey).AsRawKey() - if err := n.storeCfg.DB.CPut(ctx, metaKey, &desc, expValue.TagAndDataBytes()); err != nil { return nil, err }