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

Align mongosymb_multithread to current SIGUSR2 stack dump format

    • Fully Compatible
    • ALL
    • v4.4
    • Service arch 2020-10-05, Service arch 2020-10-19

      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}
      

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

              Created:
              Updated:
              Resolved: