[SERVER-58861] ephemeralForTest sorted data interface does not work on big endian machines Created: 26/Jul/21  Updated: 29/Oct/23  Resolved: 30/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Execution Team 2021-08-09
Participants:
Linked BF Score: 44

 Description   

IndexDataEntry::create() is writing data as little endian but reads as machine endian.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 28/Sep/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-58861 Fix ephemeralForTest on Big Endian machines.

IndexDataEntry::create in ephemeralForTest now writes in machine endian as that is how it reads.
(cherry picked from commit 970bc5c3a45de0987b6960415587ecb48ade5eb3)
Branch: v5.0
https://github.com/mongodb/mongo/commit/0e358789a5302ddc1bef24f57ed816f271f83e31

Comment by Githook User [ 30/Jul/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-58861 Fix ephemeralForTest on Big Endian machines.

IndexDataEntry::create in ephemeralForTest now writes in machine endian as that is how it reads.
Branch: master
https://github.com/mongodb/mongo/commit/970bc5c3a45de0987b6960415587ecb48ade5eb3

Generated at Thu Feb 08 05:45:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.