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

FTS index key version 2 is not endian-safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Portability
    • Labels:

      Description

      FTSIndexFormat::_appendIndexKey() uses MurmurHash3_x64_128() which computes a hash that consists of two uint64_t values. The hash is then encoded into a hex string, without considering the byte order. For correctness, the two halves of the hash should be coerced into little-endian order first.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-platform Backlog - Platform Team
              Reporter:
              bryanpkc Bryan Chan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: