From 0d2a21201f850ba882d79d7ad69ed4fae618aca2 Mon Sep 17 00:00:00 2001 From: luancheng Date: Wed, 16 Sep 2020 16:03:51 +0800 Subject: [PATCH] error: record store id when backup connection failed --- pkg/backup/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backup/client.go b/pkg/backup/client.go index 4e93bf856..992bb870c 100644 --- a/pkg/backup/client.go +++ b/pkg/backup/client.go @@ -818,7 +818,7 @@ func SendBackup( zap.Uint64("StoreID", storeID)) break } - return errors.Trace(err) + return errors.Annotatef(err, "Store: %d close the connection", storeID) } // TODO: handle errors in the resp. log.Info("range backuped",