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

WiredTiger session statistics cursor returns incorrect key on BigEndian systems

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

      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.
       

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

              Created:
              Updated:
              Resolved: