[SERVER-17432] do not apply replicated insert/delete/update operations on objects without _id field Created: 02/Mar/15 Updated: 25/Jan/17 Resolved: 10/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.0.0-rc11 |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | FT | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
applyOperation_inlock (src/mongo/repl/oplog.cpp) currently inserts/deletes/updates objects that do not contain an _id field. With more recent versions of the server, this is no longer possible. We should log all instances of such invalid insert/delete/update operations. |
| Comments |
| Comment by Githook User [ 10/Mar/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 10/Mar/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |