mirror of https://github.com/tikv/client-go.git
add cancel reason
Signed-off-by: bufferflies <1045931706@qq.com>
This commit is contained in:
parent
f9e28714c6
commit
3216af2cb1
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue