[DRIVERS-731] Handle absence of 'ns' field in index specifications returned from listIndexes Created: 30/Jul/19  Updated: 22/Feb/23  Resolved: 22/Feb/23

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-3421 Handle absence of 'ns' field in index... Closed
depends on CSHARP-2836 Handle absence of 'ns' field in index... Closed
depends on CXX-1870 Handle absence of 'ns' field in index... Closed
depends on GODRIVER-1393 Handle absence of 'ns' field in index... Closed
depends on MOTOR-451 Handle absence of 'ns' field in index... Closed
depends on NODE-2286 Handle absence of 'ns' field in index... Closed
depends on PYTHON-2032 Handle absence of 'ns' field in index... Closed
depends on RUBY-1997 Handle absence of 'ns' field in index... Closed
depends on JAVA-3494 Handle absence of 'ns' field in index... Closed
depends on PHPC-1596 Handle absence of 'ns' field in index... Closed
depends on PHPLIB-499 Handle absence of 'ns' field in index... Closed
depends on RUST-377 Handle absence of 'ns' field in index... Closed
depends on SERVER-41696 Stop generating the 'ns' field for in... Closed
Server Compat: 4.3
Upstream Changes Summary:

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.

Driver Compliance:
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

 Description   
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.


Generated at Thu Feb 08 08:22:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.