Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39026

Use correct type for retrieving WiredTiger statistics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.9, 4.1.8
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      Storage Engines 2019-01-28

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexander.gorrod Alexander Gorrod
              Reporter:
              alexander.gorrod Alexander Gorrod
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: