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
128506: sql: support deadlock_timeout session variable r=iskettaneh a=iskettaneh
This commit introduces a new `deadlock_timeout` field to the sql session If set, it will be used as the time to wait on a lock before pushing the lock holder for deadlock detection. If not set, the cluster-wide setting:
kv.lock_table.deadlock_detection_push_delay will be used as the timeout.
Based on: #127430Fixes: #116305
Release note (sql change): The deadlock_timeout session variable is now supported. The configuration can be used to specify the time to wait on a lock before pushing the lock holder for deadlock detection. It can be set at session granularity.
Co-authored-by: Ibrahim Kettaneh <ibrahim.kettaneh@cockroachlabs.com>
0 commit comments