Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
error: record store id when backup connection failed (#506)
Browse files Browse the repository at this point in the history
Co-authored-by: luancheng <[email protected]>
  • Loading branch information
ti-srebot and 3pointer authored Sep 17, 2020
1 parent ccb7712 commit 6085eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6085eb9

Please sign in to comment.