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

Fix Abseil pretty printers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • ALL
    • Programmability 2024-07-22, Programmability 2024-08-05

      Example:

      (gdb) p ((SessionCatalog)*0x316e7fb5e588)->_sessions
      $10 = Traceback (most recent call last):
        File "buildscripts/gdb/mongo_printers.py", line 623, in to_string
          absl_container_size(self.val))
        File "buildscripts/gdb/mongo_printers.py", line 532, in absl_container_size
          return val["settings_"]["value"]["compressed_tuple_"]["value"]
      gdb.error: Request for member 'value' is ambiguous in type 'absl::lts_20230802::container_internal::CompressedTuple<absl::lts_20230802::container_internal::CommonFields, mongo::HashImprover<mongo::LogicalSessionIdHash, mongo::LogicalSessionId>, std::equal_to<mongo::LogicalSessionId>, std::allocator<std::pair<mongo::LogicalSessionId const, std::unique_ptr<mongo::SessionCatalog::SessionRuntimeInfo, std::default_delete<mongo::SessionCatalog::SessionRuntimeInfo> > > > >'. Candidates are:
      

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: