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

report amount of time that a locker blocks other acquirers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • Concurrency, Diagnostics

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: