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

Use correct type for retrieving WiredTiger statistics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.9, 4.1.8
    • Storage
    • None
    • Fully Compatible
    • ALL
    • v4.0
    • 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

              alexander.gorrod@mongodb.com Alexander Gorrod
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: