add cancel reason

Signed-off-by: bufferflies <1045931706@qq.com>
This commit is contained in:
bufferflies 2023-09-12 11:59:38 +08:00
parent f9e28714c6
commit 3216af2cb1
No known key found for this signature in database
GPG Key ID: 7A16500FB4B5DA39
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ type RegionRequestSender struct {
}
func (s *RegionRequestSender) String() string {
return fmt.Sprintf("{replicaSelector: %v}", s.replicaSelector.String())
return fmt.Sprintf("{rpcError:%v,replicaSelector: %v}", s.rpcError, s.replicaSelector.String())
}
// RegionRequestRuntimeStats records the runtime stats of send region requests.