Convert extOpts from YAML to BSON in $listExtensions

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current implementation of $listExtensions calls Dump() to convert the YAML::Node extOptions to a string before constructing a BSONObj result. This is a lossy conversion, meaning that types such as maps are erroneously displayed as strings (correct: {}, actual: "{}") in the $listExtensions output. Convert the YAML::Node to BSON directly and update the corresponding tests in list_extensions.js.

            Assignee:
            Cedric Sirianni
            Reporter:
            Cedric Sirianni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: