-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Portability
-
None
-
Fully Compatible
-
ALL
-
Platforms 10 (02/19/16)
The _minor and _major fields in ChunkVersion are unioned with a 64-bit _combined field, which are used for fast reads/writes and comparisons in little-endian order. This doesn't work on big-endian systems and causes failures in ChunkManagerTests that can be worked around by providing slower but portable versions of the accessor methods and comparison operators when MONGO_CONFIG_BYTE_ORDER == 4321.