[SERVER-62229] Fix invariant when applying index build entries while recoverFromOplogAsStandalone=true Created: 22/Dec/21 Updated: 29/Oct/23 Resolved: 08/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.14, 5.0.8, 5.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Pavithra Vetriselvan |
| 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: |
v5.0, v4.4
|
||||||||||||||||
| Sprint: | Execution Team 2022-01-24, Execution Team 2022-02-07, Execution Team 2022-02-21 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This invariant expects canAcceptWritesFor to return false during startup recovery. However, if we are recovering from the oplog as a standalone (like during the backup restore procedure), this will fail. We should account for this case in the invariant. |
| Comments |
| Comment by Githook User [ 06/Apr/22 ] |
|
Author: {'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}Message: (cherry picked from commit bb6c77de8123856e9eb6bcc4f47479d9e37ddbd7) |
| Comment by Githook User [ 06/Apr/22 ] |
|
Author: {'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}Message: (cherry picked from commit bb6c77de8123856e9eb6bcc4f47479d9e37ddbd7) |
| Comment by Githook User [ 08/Feb/22 ] |
|
Author: {'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}Message: |