Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4530

WiredTiger session statistics cursor returns incorrect key on BigEndian systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.1.6
    • Fix Version/s: WT3.2.1, 4.3.1, 4.2.0-rc3
    • Component/s: None
    • Labels:
    • Environment:
      RHEL 6.7 s390x
    • Story Points:
      3
    • Sprint:
      Storage Engines 2019-07-19

      Description

      MongoDB server fetches the key from the session statistics cursor here. On big endian system this key is not in the expected form.

      e.g. On a little endian system a key 4000(0xFA0) is returned like this:

      The key returned by WiredTiger stats cursor: 93823560585120 (0x555500000FA0)

      Whereas the same key on big endian system is like this:

      The key returned by WiredTiger stats cursor: 17180800459888 (0xFA037822470) 

      Investigate that why session statistics cursor returns the incorrect correct key.
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haribabu.kommi Haribabu Kommi
              Reporter:
              neha.khatri Neha Khatri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: