[SERVER-4863] 32-bit mongod.exe is no longer compatible with Windows XP Created: 03/Feb/12 Updated: 11/Jul/16 Resolved: 07/Feb/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.1.0 |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Cassidy | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows XP 32-bit |
||
| Operating System: | Windows |
| Participants: |
| Description |
|
32-bit mongod.exe built from the master branch is no longer compatible with Windows XP. The problematic revision is 15d5ed, which introduces support for ProcessInfo::blockInMemory on Windows. Unfortunately, it relies on QueryWorkingSetEx, which is not available on 32-bit Windows XP. My understanding is that it is, however, available on 64-bit Windows XP as well as all editions of Windows Vista and Windows Server 2003 and above. Did you intentionally introduce this incompatibility? To retain compatibility with 32-bit Windows XP while retaining the new feature, I believe it would be necessary to load psapi.dll dynamically, and to return true from ProcessInfo::blockCheckSupported only if QueryWorkingSetEx is available. |
| Comments |
| Comment by auto [ 06/Feb/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eric Milkie [ 03/Feb/12 ] |
|
Indeed, the incompatibility with 32bit Windows XP was unintentional. I'll be working on fixing this for 2.1.1. |