[GODRIVER-1822] Support dropDups index option Created: 05/Jan/21  Updated: 30/Mar/22

Status: Backlog
Project: Go Driver
Component/s: API
Affects Version/s: 1.4.4
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Lau Liqiang Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB 2.6.12



 Description   

As mongo go driver README show, it support MongoDB 2.6 or higher version.

In out enviroment, we use mongodb 2.6.12 which should be supported by mongo go driver.

However when we migrate from mgo to mongo go driver, we found a thing different is that:

  • mgo support `dropDups` index option
  • mongo go driver not support `dropDups` index option

I known `dropDups` option is deprecated from MongoDB 2.7.5 version, however this index option still exists in MongoDB 2.6, and mongo go driver desclared it support mongodb 2.6。

So we think it maybe a bug for mongo go driver,it should add `dropDups` index option back。



 Comments   
Comment by Kevin Albertson [ 07/Jan/21 ]

Thank you for the report liqianglau@outlook.com! We are opening this as an improvement to add the deprecated dropDups option.

Generated at Thu Feb 08 08:37:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.