Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2757

MongoCollection.dropIndex(Bson keys) does not work for non-generated index names

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 3.8.0
    • 3.6.1
    • Command Operations
    • None

    Description

      This is because DropIndexOperation#(MongoNamespace namespace, BsonDocument keys, WriteConcern writeConcern) generates an index name and calls the server with this generating index name instead of passing the keys to the server.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            danielFesenmeyer Daniel Fesenmeyer [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: