Skip to content

kv: track lock acquisition time in lock table #67619

@nvb

Description

@nvb

Taken from #67350.

We currently don't track the time that a lock was acquired in the lockTable. This prevents us from accurately determining how long a lock has been held, which would be an interesting metric to export. We should augment the lockTable with this information and then expose it through a new metric.

Jira issue: CRDB-8633

Metadata

Metadata

Assignees

Labels

A-kv-observabilityA-kv-transactionsRelating to MVCC and the transactional model.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions