[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:
Related
related to SERVER-5663 Private pages accumulate in Windows R... Closed
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: SERVER-6132 makeChunkWritable abort on failure (Windows)
Branch: v2.0
https://github.com/mongodb/mongo/commit/f9828af52c7e44270c595a26383d146691f28fe0

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: SERVER-6132 makeChunkWritable abort on failure (Windows)
Branch: master
https://github.com/mongodb/mongo/commit/47ea9f70ddb90ffba8788b5ed4ddfc72237e6c9d

Generated at Thu Feb 08 03:10:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.