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

Log recursiveCount and unlockPending when dumping locks

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Execution Team 2022-09-19

      As part of SERVER-66752 I had to modify LockerImpl::dump() to print more information to diagnose lock state from the logs. This helped identify we were in 2-phase locking.

      I've included a patch with the changes made to print the missing fields.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: