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

GDB pretty printer error with FieldProjectionMap

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • Hide
      • run mongod with forceBonsai
      • set a breakpoint in implementers.cpp:929, this line:
        • builder.make<PhysicalScanNode>(baseCE, fieldProjectionMap, scanDefName, canUseParallelScan);
      • (gdb) p fieldProjectionMap
      Show
      run mongod with forceBonsai set a breakpoint in implementers.cpp:929, this line: builder.make<PhysicalScanNode>(baseCE, fieldProjectionMap, scanDefName, canUseParallelScan); (gdb) p fieldProjectionMap

      When printing a FieldProjectionMap the CQF pretty printer fails as follows:

      (gdb) p fieldProjectionMap
      $20 = Traceback (most recent call last):
        File "buildscripts/gdb/optimizer_printers.py", line 611, in to_string
          res += "<empty>" if field_projections["size_"] == 0 else str(field_projections).split(
      gdb.error: There is no member or method named size_.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: