[SERVER-31384] applyOps should propagate oplog application mode Created: 04/Oct/17 Updated: 30/Oct/23 Resolved: 15/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v3.6
|
||||||||||||||||||||||||||||
| Sprint: | Repl 2017-11-13, Repl 2017-12-04 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
When an applyOps oplog entry is applied, it always sets the "inSteadyStateReplication" flag to true for commands and to the "alwaysUpsert" value for operations. This means that an applyOps command with a renameCollection command in it will not cause initial sync to restart. We should pass the appropriate OplogApplication::Mode into the applyOps function. |
| Comments |
| Comment by Githook User [ 15/Nov/17 ] |
|
Author: {'name': 'William Schultz', 'username': 'will62794', 'email': 'william.schultz@mongodb.com'}Message: (cherry picked from commit d5cce0599a6f44f653eca53d728bb52b2f8fae6c) |
| Comment by Githook User [ 15/Nov/17 ] |
|
Author: {'name': 'William Schultz', 'username': 'will62794', 'email': 'william.schultz@mongodb.com'}Message: |