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
    • Labels:
      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.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      NODE-2286 Won't Do
      JAVA-3494 Works as Designed
      CDRIVER-3421 Gone away
      PHPLIB-499 Fixed 1.7.0-beta1, 1.7.0
      CSHARP-2836 Fixed 2.11.0
      PYTHON-2032 Fixed 3.11
      RUBY-1997 Fixed 2.13.0.beta1
      GODRIVER-1393 Won't Do
      CXX-1870 Works as Designed
      MOTOR-451 Fixed 2.2
      PHPC-1596 Duplicate
      RUST-377 Won't Fix
      SWIFT-802 Won't Fix
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion NODE-2286 Won't Do JAVA-3494 Works as Designed CDRIVER-3421 Gone away PHPLIB-499 Fixed 1.7.0-beta1, 1.7.0 CSHARP-2836 Fixed 2.11.0 PYTHON-2032 Fixed 3.11 RUBY-1997 Fixed 2.13.0.beta1 GODRIVER-1393 Won't Do CXX-1870 Works as Designed MOTOR-451 Fixed 2.2 PHPC-1596 Duplicate RUST-377 Won't Fix SWIFT-802 Won't Fix

      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: