[SERVER-12309] Initial sync should build indexes while copying data Created: 09/Jan/14  Updated: 26/Sep/17  Resolved: 24/Jun/16

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

Type: Improvement Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Duplicate Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-23059 Collection and Database Cloner: Imple... Closed
Related
related to SERVER-14154 Multi-threaded index creation Closed
is related to SERVER-23059 Collection and Database Cloner: Imple... Closed
is related to SERVER-16449 Validate indexes early during initial... Backlog
Tested
Backwards Compatibility: Fully Compatible
Sprint: Repl 15 (06/03/16), Repl 16 (06/24/16)
Participants:
Case:

 Description   

Right now indexes are built after copying all data. The MultiIndexBlock allows extracting the data used to build the indexes during the insert path so we don't need to do an extra pass over the data. Initial sync should make use of this ability.



 Comments   
Comment by Scott Hernandez (Inactive) [ 24/Jun/16 ]

fixed with SERVER-23059

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:28:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.