Athens: DropDups is silently ignored after MongoDB >2.8

Created on 12 Nov 2018  路  1Comment  路  Source: gomods/athens

After some discussion in #athens we figured out that dropDupes is no longer available after 3.0 for createIndex(), ensureIndex(), and createIndexes.

The latest stable version of MongoDB is 4.0.

Should we consider dropping this or continue to support it to allow some backwards compatibility? And should it be true?

For those wanting to know what DropDups does:
DropDups bool // Drop documents with the same index key as a previously indexed one

bug question storage

Most helpful comment

i think with other storage implementations we return error with module already exists we should do the same here

>All comments

i think with other storage implementations we return error with module already exists we should do the same here

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sidprak picture sidprak  路  3Comments

arschles picture arschles  路  4Comments

marpio picture marpio  路  3Comments

chriscoffee picture chriscoffee  路  3Comments

arschles picture arschles  路  3Comments