The RWMutex benchmark shouldn't use the LockManager directly

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • N&O 2025-11-24, Programmability 2026-01-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The RWMutex benchmark directly calls lock/unlock on the LockManager.

      This is undesirable for two reasons:

      1. That's not how ResourceMutexes are acquired in production code, they go through the RAII object ResourceLock.
      2. The LockManager is a private implementation detail of the Catalog and its synchronization.

      Because of the above, this benchmark should be switched to use ResourceLock instead.

            Assignee:
            Ryan Berryhill
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: