[SERVER-14165] fix isSelf() to compare against all interfaces on windows Created: 04/Jun/14  Updated: 04/Sep/14  Resolved: 08/Aug/14

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 2.7.1
Fix Version/s: 2.7.5

Type: Bug Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: Windows, pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-15151 isSelf should be used in Windows Closed
Related
related to SERVER-14078 Verify >1 local interface works with ... Closed
Backwards Compatibility: Fully Compatible
Operating System: Windows
Participants:

 Description   

https://github.com/mongodb/mongo/blob/f43fd35390995c4aa6ef53477e95998c891eb6d2/src/mongo/db/commands/isself.cpp#L222 is not done on windows and can/should be

equivalent windows functionality is described in:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366314%28v=vs.85%29.aspx

we should consider fixing solaris as well



 Comments   
Comment by Githook User [ 11/Aug/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14165 reenable isself fastpath for OSX

Closes #736

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/08873e79890885f83d0a9ae1de7ea9f4769cd83d

Comment by Githook User [ 08/Aug/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: SERVER-14165 port isSelf fastpath to windows

Closes #736

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/daab6fae496e1aca6b8f7c709bd18307745df1dd

Comment by Andy Schwerin [ 02/Jul/14 ]

The correct solution may be to have isself() do not caching, but always use the phone-home approach.

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