[SERVER-19431] The mongo::hasher algorithm is not endian clean Created: 15/Jul/15  Updated: 19/Sep/15  Resolved: 21/Jul/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.7

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 7 08/10/15
Participants:

 Description   

When run on a big-endian machine, the StartupTest in db/hasher.cpp fails.



 Comments   
Comment by Githook User [ 28/Jul/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-19431 Remove little endian assumption from BSON db hash
Branch: master
https://github.com/mongodb/mongo/commit/3828a4164f4853f9db7add43b9b8ddc9613f20f3

Comment by Githook User [ 21/Jul/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-19431 Remove little endian assumption from BSON db hash
Branch: master
https://github.com/mongodb/mongo/commit/3828a4164f4853f9db7add43b9b8ddc9613f20f3

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