[SERVER-46806] repair_unfinished_indexes.js should startup standalone nodes with 'recoverFromOplogAsStandalone=true' Created: 11/Mar/20  Updated: 29/Oct/23  Resolved: 11/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:
Linked BF Score: 21

 Description   

When this test shuts down the secondary node, it makes no guarantees that the secondary has fully-applied and advanced the stable timestamp of the "startIndexBuild" operation.

We should use the "recoverFromOplogAsStandalone=true" setParameter in the subsequent startup of the standalone node. This will guarantee the startIndexBuild oplog entry has been applied before making assertions about the presence of the index.



 Comments   
Comment by Githook User [ 11/Mar/20 ]

Author:

{'username': 'louiswilliams', 'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com'}

Message: SERVER-46806 repair_unfinished_indexes.js should startup standalone nodes with 'recoverFromOplogAsStandalone=true'

(cherry picked from commit 4cc0dd868f9fc0fedfae00ee4462e6b7df37d89f)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f0a460b924e846a6f0a419b058499fdd14764405

Comment by Githook User [ 11/Mar/20 ]

Author:

{'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}

Message: SERVER-46806 repair_unfinished_indexes.js should startup standalone nodes with 'recoverFromOplogAsStandalone=true'
Branch: master
https://github.com/mongodb/mongo/commit/4cc0dd868f9fc0fedfae00ee4462e6b7df37d89f

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