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

Use correct type for retrieving WiredTiger statistics

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

      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@mongodb.com Alexander Gorrod
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: