[SERVER-5819] Use FileAllocator on Windows Created: 10/May/12 Updated: 11/Jul/16 Resolved: 12/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.0.5, 2.1.1 |
| Fix Version/s: | 2.1.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Ben Becker | Assignee: | Ben Becker |
| Resolution: | Done | Votes: | 0 |
| Labels: | FileAllocator, mmap | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Operating System: | Windows | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Testing revealed occasional unexpected long delays (and retries) when calling FlushViewOfFile(). As a work around, we could simply allocate (and zero out) the files using the existing FileAllocator implementation. Initial testing seems to indicate that this avoids any failures in FlushViewOfFile(), which would normally require retrying. |
| Comments |
| Comment by Tad Marshall [ 08/Feb/13 ] | ||||
|
A hotfix is available from Microsoft for Windows 7 and Windows Server 2008 R2 that eliminates the root cause of the issue with FlushViewOfFile. | ||||
| Comment by auto [ 11/Jun/12 ] | ||||
|
Author: {u'login': u'', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}Message: | ||||
| Comment by Ben Becker [ 08/Jun/12 ] | ||||
|
Fixed PRNG initialization and errno output | ||||
| Comment by auto [ 08/Jun/12 ] | ||||
|
Author: {u'login': u'', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}Message: | ||||
| Comment by Ben Becker [ 08/Jun/12 ] | ||||
|
Fixed – needed to seed the PRNG. | ||||
| Comment by Eric Milkie [ 08/Jun/12 ] | ||||
|
http://buildbot.mongodb.org/builders/Windows%2064-bit/builds/4764/steps/test_7/logs/stdio
| ||||
| Comment by auto [ 08/Jun/12 ] | ||||
|
Author: {u'login': u'', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}Message: |