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
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      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
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } 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

      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: