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

Tell threads to dump CurOp info when lock acquisition times out

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

      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 Unassigned
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: