Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-731

Handle absence of 'ns' field in index specifications returned from listIndexes

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None
    • Hide

      This ticket removed the 'ns' field from all index specs starting in 4.3. Any commands that retrieve index specifications from MongoDB (such as listIndexes) will be affected and will no longer have the 'ns' field be part of the output.

      Show
      This ticket removed the 'ns' field from all index specs starting in 4.3. Any commands that retrieve index specifications from MongoDB (such as listIndexes) will be affected and will no longer have the 'ns' field be part of the output.

      Useful Info

      Summary

      Starting in MongoDB 4.4, the ns field will no longer be present in the index specifications returned from the listIndexes server command. This affects drivers that return statically defined models of index specifications as part of their own listIndexes helpers, as well as drivers that document the contents of any loose documents/dictionaries they return from that helper instead. Such drivers may need to update their code and/or documentation as per the new changes to the index enumeration spec.

      Lead: Matt
      Author: Patrick
      POCs: PHP - Andreas, .NET, Java

      Relevant Spec Changes: In SPEC-1399, a new section was added to the index enumeration spec mentioning how drivers should handle this change. Also, new test scenarios were added to the test plan.

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: