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

mongo_lock's find_mutex_holder should handle mutexes with no apparent holder

    • Fully Compatible
    • ALL
    • TIG 2018-1-1, TIG 2017-12-18
    • 0

      In mongo_lock.py, find_mutex_holder() looks up a mutex holder in a thread_dict map, but doesn't check for the key's existence first.

      If the key doesn't exist, the entire MongoDBDumpLocks run fails with a backtrace and this Python error message:

      KeyError: 17150
      

      Instead, it should simply print an informative message and continue.

            Assignee:
            eddie.louie Eddie Louie
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: