client-go icon indicating copy to clipboard operation
client-go copied to clipboard

region_requst: add req info in flashback region error

Open Defined2014 opened this issue 2 years ago • 3 comments

add more log for flashback when it meets error, ref https://github.com/pingcap/tidb/issues/43673

Defined2014 avatar Jun 29 '23 05:06 Defined2014

@Defined2014 I suggest to attach the addtional info like this: https://github.com/tikv/client-go/compare/master...you06:client-go:add-log?expand=1

you06 avatar Jun 29 '23 07:06 you06

@Defined2014 I suggest to attach the addtional info like this: https://github.com/tikv/client-go/compare/master...you06:client-go:add-log?expand=1

ok. I found that we already have debug log in for this part, maybe we could try open debug log firstly.

And not sure return such internal information in Error Msg is good or not. It's useless for user.

Defined2014 avatar Jun 29 '23 07:06 Defined2014

ok. I found that we already have debug log in for this part, maybe we could try open debug log firstly.

Debug mode print too many logs...

you06 avatar Jun 29 '23 07:06 you06