Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82411

Use a named mutex in logical_time_validator.cpp

    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-2-5, Cluster Scalability 2024-2-19
    • 1

      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

            Assignee:
            erin.liang@mongodb.com Erin Liang
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: