[DRIVERS-789] GridFS index checking should support indexes created in the shell Created: 19/Dec/19  Updated: 28/Oct/23  Resolved: 22/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Esha Bhargava Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-3498 GridFS index checking should support ... Closed
depends on CSHARP-2909 GridFS index checking should support ... Closed
depends on CXX-1911 GridFS index checking should support ... Closed
depends on GODRIVER-1469 GridFS index checking should support ... Closed
depends on MOTOR-491 GridFS index checking should support ... Closed
depends on PYTHON-2103 GridFS index checking should support ... Closed
depends on RUBY-2096 GridFS index checking should support ... Closed
depends on NODE-2429 GridFS index checking should support ... Closed
depends on PHPC-1595 GridFS index checking should support ... Closed
depends on PHPLIB-522 GridFS index checking should support ... Closed
depends on RUST-375 GridFS index checking should support ... Closed
depends on JAVA-3599 GridFS index checking should support ... Closed
Related
Driver Compliance:
Key Status/Resolution FixVersion
MOTOR-491 Works as Designed
CXX-1911 Fixed 3.6.0-rc0, 3.6.0
JAVA-3599 Fixed 3.12.2
NODE-2429 Fixed 3.6.0
PHPLIB-522 Fixed 1.7.0-beta1, 1.7.0
PYTHON-2103 Fixed 3.11
GODRIVER-1469 Fixed 1.4.0
CSHARP-2909 Works as Designed
CDRIVER-3498 Fixed 1.17.0-beta2, 1.17.0
RUBY-2096 Works as Designed
PHPC-1595 Duplicate
RUST-375 Works as Designed
SWIFT-800 Won't Fix

 Description   

A user has reported seeing the index checking failing with the Java driver due to different numeric types used when creating the index. This then lead to an auth error trying to create new indexes.

In the shell if a user creates the index: db.fs.files.createIndex({"filename" : 1,"uploadDate" : 1}).

The Java driver fails in its comparison because the shell (js) defaults to using doubles for numbers.


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