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

GridFS index checking should support indexes created in the shell

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Implementing
    • Priority: Major - P3
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None
    • SERVER fixVersion:
      4.4

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: