[SERVER-82411] Use a named mutex in logical_time_validator.cpp Created: 24/Oct/23  Updated: 05/Feb/24

Status: In Code Review
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Mark Benvenuto Assignee: Erin Liang
Resolution: Unresolved Votes: 0
Labels: neweng, sharding-nyc-subteam3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Cluster Scalability
Sprint: Cluster Scalability 2024-2-5, Cluster Scalability 2024-2-19
Participants:
Story Points: 1

 Description   

Currently, validatorMutex is a AnonymousLatch. This should be a named latch using MONGO_MAKE_LATCH. Using named latches improves the quality of data in tools that examine the lock statistics.

https://github.com/mongodb/mongo/blob/e716d715322eb40fc13c4fac6bcc3e28f1c7ffe6/src/mongo/db/logical_time_validator.cpp#L74C15-L74C15


Generated at Thu Feb 08 06:49:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.