[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: |
|
||||||||
| 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: (cherry picked from commit 4cc0dd868f9fc0fedfae00ee4462e6b7df37d89f) |
| Comment by Githook User [ 11/Mar/20 ] |
|
Author: {'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}Message: |