[SERVER-16776] mmapv1 journaling invariant triggered during replicated insert Created: 08/Jan/15 Updated: 19/Sep/15 Resolved: 27/Feb/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
During random testing I found this failure:
|
| Comments |
| Comment by Githook User [ 04/Mar/15 ] | |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: (cherry picked from commit a9f240048fe27d925c0ad1798c1bf29ce59f0acc) | |
| Comment by Githook User [ 27/Feb/15 ] | |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |
| Comment by Githook User [ 16/Jan/15 ] | |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: | |
| Comment by Kaloian Manassiev [ 08/Jan/15 ] | |
|
Happens because the check for no journal writes for files that are closing blindly checks that there are no writes at all instead of checking if there are no writes for the file that's being closed. The fix would be to either remove this assertion altogether or to make sure closingFileNotification take into account which file is being closed. | |
| Comment by Scott Hernandez (Inactive) [ 08/Jan/15 ] | |
|
If you apply the smoke diff you might be able to repro running this:
NOTE: small-oplog-rs is broken without this patch and I'm still working on it. |