Use a named mutex in logical_time_validator.cpp

XMLWordPrintableJSON

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

      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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: