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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.8.0
    • Affects Version/s: 3.6.1
    • Component/s: Command Operations
    • None

      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.

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

              Created:
              Updated:
              Resolved: