Tell threads to dump CurOp info when lock acquisition times out

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It could be helpful to have a dump of CurOp info when debugging lock acquisition timeouts. One way of doing this could be issuing a signal like SIGUSR2 in conjunction with some global flag that will tell threads to dump their own CurOp info.

      As mentioned in SERVER-71521, ideally CurOp would contain info on:

      • what is the current running operation
      • what is it currently doing at the moment
      • if it is waiting on something, how long has it been waiting, and how long did it spend on each step of its operation until now

              Assignee:
              Unassigned
              Reporter:
              Xuerui Fa
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: