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

Why do we not resolve locks for pessimistic transactions?

Open nrc opened this issue 4 years ago • 1 comments

I'm not sure if this is a feature or a bug.

nrc avatar Feb 16 '21 22:02 nrc

Seems to me it's intentional. From tidb:

  // Because we already waited on tikv, no need to Backoff here.
  // tikv default will wait 3s(also the maximum wait value) when lock error occurs

ekexium avatar Feb 18 '21 08:02 ekexium