[SERVER-42148] Relax invariants asserting the existence of the local.replset.minvalid collection during replication recovery Created: 10/Jul/19 Updated: 16/Jul/19 Resolved: 16/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | William Schultz (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Repl 2019-07-15, Repl 2019-07-29 | ||||||||
| Participants: | |||||||||
| Description |
|
In certain automated backup restore procedures, it is expected that the 'local.replset.minvalid' collection will be dropped from a node when it has been started up as a standalone, before starting it up again with recoverFromOplogAsStandalone=true. We have several invariants(1, 2) that assert the existence of the minvalid collection. We should relax these invariants to support the automated backup procedures. |