Skip to content

2.25.0.0-b234

@basavaraj29 basavaraj29 tagged this 30 Oct 22:08
Summary:
For a slightly conflicting workload, there is a lot of log spew generated from deadlock_detector.cc. Reducing all logs in deadlock_detector to vlogs.

Since it would still be helpful to log the deadlocked transactions, we log it from the status tablet leader after replicating the deadlock (abort) message. This way we should see the deadlocked txn logged at most once.

Note: We cannot log the deadlocked txn in the deadlock detector itself since the same cycle could be concurrently detected at multiple detectors, thus resulting in multiple logs.
Jira: DB-13121

Test Plan: Jenkins: compile-only

Reviewers: esheng, rthallam

Reviewed By: esheng, rthallam

Subscribers: ybase

Differential Revision: https://phorge.dev.yugabyte.com/D39630
Assets 2
Loading