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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.1
    • Affects Version/s: None
    • Component/s: Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms F (01/29/16)
    • 0

      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.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            bryanpkc Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: