[SERVER-31300] applyOps command should add collection UUIDs to each of its oplog entries Created: 28/Sep/17 Updated: 30/Oct/23 Resolved: 06/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | Benety Goh |
| 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 | ||||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||||
| Sprint: | Repl 2017-10-23, Repl 2017-11-13 | ||||||||||||||||||
| Participants: | |||||||||||||||||||
| Description |
|
The applyOps command allows users to specify an array of oplog entries to be applied to a replica set node, but it isn't strict about the format of oplog entries given. Oplog entries can be given by a user that don't include a UUID (a ui field) and so they will be inserted into the oplog as is, without UUIDs. We should change this behavior so that, before the given oplog entries are added to the oplog, the appropriate collection UUIDs are added for each entry. |
| Comments |
| Comment by Githook User [ 06/Nov/17 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 06/Nov/17 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 06/Nov/17 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by Githook User [ 06/Nov/17 ] |
|
Author: {'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}Message: |
| Comment by William Schultz (Inactive) [ 23/Oct/17 ] |
|
As part of this ticket, we can re-enable the appropriate test case in the rollback_all_op_types.js test. |