[SERVER-14860] Make background index building work again Created: 11/Aug/14  Updated: 23/Mar/17  Resolved: 04/Nov/14

Status: Closed
Project: Core Server
Component/s: Concurrency, Index Maintenance
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

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

Issue Links:
Depends
Duplicate
is duplicated by SERVER-15664 Re-enable yielding for background ind... Closed
Related
related to SERVER-27834 Index builds during initial sync shou... Closed
related to SERVER-1241 Document-level locking Closed
related to SERVER-15541 Re-enable yielding Closed
Tested
Sprint: Query 2.7.8
Participants:

 Description   

When we removed yielding, bg indexes became just slow foreground indexes. Need to figure out a solution that will work with document-level locking.



 Comments   
Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14860: fix multi-index build transactionality around setIndexIsMultikey
Branch: master
https://github.com/mongodb/mongo/commit/64461753cda653080e101bab2264ed7c1bd9657e

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-14860 allow bg index builds on secondaries with doc-level-locking storage engines
Branch: master
https://github.com/mongodb/mongo/commit/f91d3efd69a154d46a73caf2e6b5a5f632b56061

Comment by Githook User [ 03/Nov/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-14860 Refine locking scheme for background index builds, to support doc-level-locking storage engines
Branch: master
https://github.com/mongodb/mongo/commit/b259bbfca77d2ef3453288a80b82dddb16750c64

Comment by Githook User [ 03/Nov/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-14860 Re-add support for interruptable background index builds on secondaries.
Branch: master
https://github.com/mongodb/mongo/commit/afce8c3ca626f8fddcd24c7c86de93fd081227cd

Comment by Githook User [ 03/Nov/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-14860 Handle duplicate key/value in btree, for background indexing
Branch: master
https://github.com/mongodb/mongo/commit/df567c92f07eeb2c2dc92580121703274ac6fc88

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