Improve mongod's signal handler to print out current thread's command object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • v8.0, v7.0
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      To make investigating crashes easier, we should improve mongod's signal handler to also print out the current thread's command object (if there is one) along with the stacktrace.

      That way, when we have a mongod crash in the future that we want to investigate, we will be able to quickly determine what query was running when the crash happened.

            Assignee:
            Hana Pearlman
            Reporter:
            Drew Paroski
            Votes:
            6 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: