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

WiredTiger session statistics cursor returns incorrect key on BigEndian systems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.1.6
    • WT3.2.1, 4.3.1, 4.2.0-rc3
    • None
    • RHEL 6.7 s390x
    • 3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: