Use correct type for retrieving WiredTiger statistics

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.9, 4.1.8
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage Engines 2019-01-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Alexander Gorrod
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: