Skip to content

sql: refactor appStats to have a RWMutex instead of a Mutex #55285

@arulajmani

Description

@arulajmani

There are various places in the code where appStats can benefit from acquiring a read lock (such as

). We should refactor appStats to start using a RWMutex and acquire read locks wherever appropriate.

Jira issue: CRDB-3680

Metadata

Metadata

Assignees

Labels

C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions