You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pessimistic retry happens, the whole statement would be retired several times because of the write conflict error. By now the slow log would display information like this:
It's still quite unclear how the 3.47s duration is composed of. Actually, the kv RPC seems to be quite fast. For the point get executor, the lock happens when it's executed but nothing related is recorded in the point get execution details. There're several things that could be done to improve this and make the diagnosis information clear.
Record the information properly if the statement retry happens especially the pessimistic conflict retry path.
Record the lock execution details in the point get and batch point get executors correctly.
The text was updated successfully, but these errors were encountered:
cfzjywxk
changed the title
diagnose: enhance the execdetails when the pessimistic happens
diagnose: enhance the execdetails when the pessimistic retry happens
Aug 22, 2022
Enhancement
Ref: #34106
When pessimistic retry happens, the whole statement would be retired several times because of the write conflict error. By now the slow log would display information like this:
It's still quite unclear how the
3.47s
duration is composed of. Actually, the kv RPC seems to be quite fast. For the point get executor, the lock happens when it's executed but nothing related is recorded in the point get execution details. There're several things that could be done to improve this and make the diagnosis information clear.The text was updated successfully, but these errors were encountered: