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

Align mongosymb_multithread to current SIGUSR2 stack dump format

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Service arch 2020-10-05, Service arch 2020-10-19

      Description

      Observed on 4.5.0-2764-g0d073ce and 4.4.0. mongosymb_multithread doesn't parse stack traces because of an attribute name change. This diff restores functionality.

      --- a/buildscripts/mongosymb_multithread.py
      +++ b/buildscripts/mongosymb_multithread.py
      @@ -34,8 +34,8 @@ def main():
                   if "prologue" in attr:
                       prologue = attr["prologue"]
       
      -            if "threadRecord" in attr:
      -                thread_record = attr["threadRecord"]
      +            if "record" in attr:
      +                thread_record = attr["record"]
                       merged = {**thread_record, **prologue}
      

        Attachments

          Activity

            People

            Assignee:
            billy.donahue Billy Donahue
            Reporter:
            josef.ahmad Josef Ahmad
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: