[SERVER-45828] write js test for rolling index builds Created: 28/Jan/20  Updated: 29/Oct/23  Resolved: 31/Jan/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-13380 Investigate changes in SERVER-45828: ... Closed
Related
related to SERVER-71769 Add a new log message when a secondar... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-02-10
Participants:

 Description   

The following procedure shows how administrators can build an index in a replica set in a rolling fashion where we build the index on each node while it is removed temporarily from the replica set temporarily and restarted as a standalone node.

https://docs.mongodb.com/manual/tutorial/build-indexes-on-replica-sets/

As a supplement to the documentation, it may be useful to add a JS test that demonstrates this procedure.



 Comments   
Comment by Githook User [ 30/Jan/20 ]

Author:

{'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}

Message: SERVER-45828 rolling_index_builds.js disables ttlMonitorEnabled when starting standalone
Branch: master
https://github.com/mongodb/mongo/commit/b5f6ba41162d69984bf0c8a041d03c720a78d5bf

Comment by Benety Goh [ 29/Jan/20 ]

Re-opening to extend standalone mongod startup options in test.

Comment by Githook User [ 29/Jan/20 ]

Author:

{'username': 'benety', 'name': 'Benety Goh', 'email': 'benety@mongodb.com'}

Message: SERVER-45828 add js test for rolling index builds

create mode 100644 jstests/noPassthrough/rolling_index_builds.js
Branch: master
https://github.com/mongodb/mongo/commit/c331a0a4ea00253d257a4c31e1ad11752ccbdfd1

Generated at Thu Feb 08 05:09:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.