GridFS index checking should support indexes created in the shell

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of Drivers Ticket:

      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.
      See DRIVERS-789 for updated details.

              Assignee:
              Samuel Rossi (Inactive)
              Reporter:
              Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: