We recently added code that extracts statistics from WiredTiger, which is retrieving the key into a uint64_t. The key type is an int, that works OK on x86 machines, because the value gets copied into the half of the 8 bytes that means the 64 bit value is the same. For big endian platforms that isn't true, and the value appears shifted by 32 bits.
- is related to
WT-4530 WiredTiger session statistics cursor returns incorrect key on BigEndian systems
SERVER-38240 Extend OpDebug object to support storage statistics