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

Update core analyzer to use gdbmongo version 0.15.1

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Correctness
    • 2024-09-17

      The core analyzer errors for recent server binaries when attempting to dump the mongo::LockManager:

      [2024/07/16 12:41:19.497] Traceback (most recent call last):
      [2024/07/16 12:41:19.497]   File "/data/mci/b8938afb998b5db65837fcb15f9b1698/venv/lib/python3.10/site-packages/gdbmongo/lock_manager_printer.py", line 319, in to_string
      [2024/07/16 12:41:19.497]     for _ in self.children():
      [2024/07/16 12:41:19.497]   File "/data/mci/b8938afb998b5db65837fcb15f9b1698/venv/lib/python3.10/site-packages/gdbmongo/lock_manager_printer.py", line 326, in children
      [2024/07/16 12:41:19.497]     bucket_data = AbslNodeHashMapPrinter(self.buckets[i]["data"])
      [2024/07/16 12:41:19.497]   File "/data/mci/b8938afb998b5db65837fcb15f9b1698/venv/lib/python3.10/site-packages/gdbmongo/abseil_printers.py", line 114, in __init__
      [2024/07/16 12:41:19.497]     self.size = int(val["size_"])
      [2024/07/16 12:41:19.497] gdb.error: There is no member or method named size_.
      

      https://parsley.mongodb.com/test/mongodb_mongo_master_enterprise_rhel_8_64_bit_dynamic_core_analysis_concurrency_sharded_with_stepdowns_and_balancer_and_config_transitions_3_linux_enterprise0_zmCuO_98d62cfdf10d9ac3193b9149b8a24a930a297d02_24_07_16_06_46_08/0/ed066b745fb124e1bb06e9bbafcf09eb?bookmarks=0,6960&shareLine=6952

      Updating the dependency to gdbmongo version 0.15.1 would resolve this error and includes other changes needed to support MongoDB 8.0:

      https://github.com/visemet/gdb-mongodb-server/blob/main/CHANGELOG.rst
      https://github.com/visemet/gdb-mongodb-server/compare/v0.14.0...v0.15.1

            Assignee:
            Unassigned Unassigned
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: