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

GridFS index checking should support indexes created in the shell

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

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: