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

report amount of time that a locker blocks other acquirers

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Concurrency, Diagnostics

      Currently we report how long threads waited to acquire locks, but it is harder to find the reason why the lock wasn't granted. By adding statistics on how long a locker holds a lock while blocking other threads, we could surface problematic lockers.

      This should be straightforward to implement, because we already have the appropriate lock manager bucket locked when queuing the request, so we can just add a start block time to the granted request.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: