[DOCS-4578] Impact and behaviour of index rebuilding in a v2.6 replica set Created: 23/Dec/14  Updated: 30/Oct/23  Resolved: 18/Jan/18

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Luke Prochazka Assignee: Brian Moss
Resolution: Done Votes: 1
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 6 years, 11 weeks, 1 day ago
Story Points: 0.25

 Description   

In this DOCS reference: http://docs.mongodb.org/manual/core/index-creation/#index-creation-background

Please amend the DOC to add clarity on index build behaviour, in particular the following statements:

A foreground index build is default, when complete on a replica set primary, it'll replicate to the secondaries with a foreground build task. The replication worker will take a global DB lock, which will queue reads and writes to all DBs on that server.
A background index build, when complete on a replica set primary, it'll replicate to the secondaries with a background build task. The replication worker will not take a global DB lock. Secondary reads will not be affected.



 Comments   
Comment by Githook User [ 28/Nov/17 ]

Author:

{'name': 'Brian Moss', 'username': 'kallimachos', 'email': 'kallimachos@gmail.com'}

Message: DOCS-4578 Clarify global locks for index replication
Branch: v3.4
https://github.com/mongodb/docs/commit/9b8f3ae232f7f8ad6c36487489b933af1a448eee

Comment by Githook User [ 28/Nov/17 ]

Author:

{'name': 'Brian Moss', 'username': 'kallimachos', 'email': 'kallimachos@gmail.com'}

Message: DOCS-4578 Clarify global locks for index replication
Branch: master
https://github.com/mongodb/docs/commit/5f09a33831bc159985dc75b56ea83891a22fd218

Comment by Brian Moss [ 07/Nov/17 ]

PR: https://github.com/mongodb/docs/pull/3089

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.2
https://github.com/mongodb/docs/commit/c4ba7d519fbdbe0ddc6d7713308e3aec34dcd697

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.2
https://github.com/mongodb/docs/commit/c4ba7d519fbdbe0ddc6d7713308e3aec34dcd697

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.4
https://github.com/mongodb/docs/commit/d0bfdc213f21ae7014734d9c05992b7af9085030

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.4
https://github.com/mongodb/docs/commit/d0bfdc213f21ae7014734d9c05992b7af9085030

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/715a5741ddcd44f7f239645e496a8e6468b37c7e

Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'kallimachos@gmail.com', 'name': 'Brian Moss', 'username': 'kallimachos'}

Message: DOCS-4578 Clarify index builds on secondaries

Clarify when index builds on secondaries are in the foreground or the
background.

Closes DOCS-4578

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/715a5741ddcd44f7f239645e496a8e6468b37c7e

Comment by Brian Moss [ 06/Oct/17 ]

luke.prochazka Could you please review https://github.com/mongodb/docs/pull/2979 for technical accuracy?

Generated at Thu Feb 08 07:48:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.