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

Track lock queue and active stats per lock (db)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Concurrency
    • Labels:

      Description

      Track stats on number of waiting requests/acquires per state, per lock, and active threads/ops per state, like we do for the globalLock section.

                      "currentQueue" : {
      			"total" : 205,
      			"readers" : 200,
      			"writers" : 5
      		},
      		"activeClients" : {
      			"total" : 100,
      			"readers" : 100,
      			"writers" : 0
      		}

      Also, need stats on the number of acquires/transitions for each locks + state. How many times was the read lock (for each lock instance) acquired and released?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: