[SERVER-14710] Remove dropDups support from index building Created: 28/Jul/14  Updated: 07/Jul/21  Resolved: 13/Aug/14

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 2.7.5

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-14812 Add a flag to drop unique violators i... Closed
Related
related to SERVER-14901 'dropDup' typo in IndexCatalog::_fixI... Closed
related to SERVER-17599 dropDups ignored on index creation Closed
related to DOCS-5012 3.0 docs still refer to dropDups option Closed
related to SERVER-26217 Disallow dropDups field in createInde... Closed
related to SERVER-58347 disallow dropDups field in createInde... Backlog
is related to SERVER-16181 DropDupos information missing or lost. Closed
is related to DRIVERS-176 Remove dropDups support from index bu... Closed
is related to DOCS-3069 Please document dropDups as deprecated Closed
Tested
Backwards Compatibility: Major Change
Participants:

 Description   

dropDups will be silently ignored and removed from the index spec when building indexes. If the index is unique and any dups exist, the index build will fail.



 Comments   
Comment by Githook User [ 20/Aug/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-14710 finish removal of dropDups

fixes the SERVER-14901 typo
Branch: master
https://github.com/mongodb/mongo/commit/4f379f1c6689481b74d3672effdc7cd81a5f5d9a

Comment by Githook User [ 13/Aug/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-13951 Split index building in to UnitOfWork-sized stages

All index builds now go through the MultiIndexBuilder as its API was already
close to ideal. The following tickets have also been addressed by this commit:

SERVER-14710 Remove dropDups
SERVER-12309 Cloner build indexes in parallel
SERVER-14737 Initial sync uses bg index building
SERVER-9135 fast index build for initial sync
SERVER-2747 can't kill index in phase 2
SERVER-8917 check error code rather than assuming all errors are dups
SERVER-14820 compact enforces unique while claiming not to
SERVER-14746 IndexRebuilder should be foreground and fail fatally
Branch: master
https://github.com/mongodb/mongo/commit/00913e47de5aced5267e44e82ac9e976bbaac089

Generated at Thu Feb 08 03:35:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.