[SERVER-21467] Do not reverse byte order of GeoHash data on big-endian systems Created: 15/Nov/15  Updated: 23/Nov/16  Resolved: 22/Jan/16

Status: Closed
Project: Core Server
Component/s: Portability
Affects Version/s: None
Fix Version/s: 3.3.1

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms F (01/29/16)
Participants:
Linked BF Score: 0

 Description   

src/mongo/db/geo/hash.cpp uses copyAndReverse to change the order of bytes in a hash when committing it to a buffer. This byte order reversal seems unnecessary on a big-endian system.



 Comments   
Comment by Githook User [ 25/Jan/16 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-21467 Include config.h
Branch: master
https://github.com/mongodb/mongo/commit/234c2a1fde49efd69dcc12efe1b70f0537b43683

Comment by Githook User [ 22/Jan/16 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-21467 Do not reverse byte order of GeoHash data on big-endian systems
Branch: master
https://github.com/mongodb/mongo/commit/5919422e0e004e32cbd9a3cecb2a3daff53bbc76

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