[SERVER-6132] a failure inside MakeChunkWritable should call abort/fassert instead of assert Created: 19/Jun/12 Updated: 11/Jul/16 Resolved: 20/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.0.6, 2.1.1 |
| Fix Version/s: | 2.0.7, 2.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Matulef | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Windows | ||||||||
| Participants: | |||||||||
| Description |
|
At the end of makeChunkWritable (in mongommf.cpp in 2.0.x and currently in mmap_win.cpp in 2.1.x), if the call to VirtualProtect does not return "ok", abort/fassert should be called instead of assert/verify. If this call fails, there may be data corruption, so the server should shut down to allow recovery via the journal. |
| Comments |
| Comment by Tad Marshall [ 20/Jun/12 ] |
|
Resolved for 2.0.7. |
| Comment by auto [ 20/Jun/12 ] |
|
Author: {u'date': u'2012-06-20T10:57:59-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: |
| Comment by Tad Marshall [ 20/Jun/12 ] |
|
Resolved for 2.1.2 (not yet for 2.0.7). |
| Comment by auto [ 20/Jun/12 ] |
|
Author: {u'date': u'2012-06-20T02:07:54-07:00', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: |