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

Do not reverse byte order of GeoHash data on big-endian systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.1
    • Component/s: Portability
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms F (01/29/16)
    • Linked BF Score:
      0

      Description

      src/mongo/db/geo/hash.cpp uses copyAndReverse to change the order of bytes in a hash when committing it to a buffer. This byte order reversal seems unnecessary on a big-endian system.

        Attachments

          Activity

            People

            Assignee:
            tess.avitabile Tess Avitabile
            Reporter:
            bryanpkc Bryan Chan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: