[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: SERVER-4863 dynamically detect block-in-memory functionality (needed for Windows)
Branch: master
https://github.com/mongodb/mongo/commit/baf02d5e260ba46a3fe8792190f37627aba47f39

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.

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