Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dst] Delay start of deadlock detection for a configurable amount of time #13576

Open
robertsami opened this issue Aug 11, 2022 · 1 comment
Open
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@robertsami
Copy link
Contributor

robertsami commented Aug 11, 2022

Jira Link: DB-3155
We should delay deadlock detection for some configurable amount of time, say 1s, similar to Postgres. This will allow us to avoid the overhead of deadlock detection in cases where blocked transactions are unblocked quickly.

See deadlock_timeout in https://www.postgresql.org/docs/current/runtime-config-locks.html

@robertsami robertsami added the area/docdb YugabyteDB core features label Aug 11, 2022
@robertsami robertsami self-assigned this Aug 11, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Aug 11, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Sep 3, 2022
@robertsami robertsami moved this from To do to Backlog in Wait-Queue Based Locking Jan 17, 2023
@robertsami robertsami moved this from Backlog to On-By-Default Blocking in Wait-Queue Based Locking Apr 4, 2023
@robertsami robertsami moved this from EA Blocking to Backlog in Wait-Queue Based Locking Jun 26, 2023
@rthallamko3
Copy link
Contributor

This can help with the perf of deadlock detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Status: Pending
Development

No branches or pull requests

4 participants