[SERVER-4940] capped collection replication dedups based on full object without an _id Created: 12/Feb/12 Updated: 03/Mar/15 Resolved: 23/Feb/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Unassigned |
| Resolution: | Done | 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 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
It is possible to replicate a capped collection that is created without an _id index and without document _ids. In this case deduping on the slave is performed on the basis of complete documents rather than by _id. This means identical documents inserted to the master will not all be replicated to the slave. Test will be pushed. |
| Comments |
| Comment by Eric Milkie [ 23/Feb/15 ] | |||||||||||||||||||||||||||||||||||||||
|
It is no longer possible to insert documents without an _id field. | |||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 15/Mar/13 ] | |||||||||||||||||||||||||||||||||||||||
|
Author: {u'date': u'2013-03-15T10:17:01Z', u'name': u'aaron', u'email': u'aaron@10gen.com'}Message: | |||||||||||||||||||||||||||||||||||||||
| Comment by Aaron Staple [ 17/Jan/13 ] | |||||||||||||||||||||||||||||||||||||||
|
We don't always force an _id. Is doing so a functional goal?
| |||||||||||||||||||||||||||||||||||||||
| Comment by Eliot Horowitz (Inactive) [ 17/Jan/13 ] | |||||||||||||||||||||||||||||||||||||||
|
We now force an _id | |||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 13/Feb/12 ] | |||||||||||||||||||||||||||||||||||||||
|
Author: {u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}Message: |