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

FTS index key version 2 is not endian-safe

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Portability
    • Fully Compatible
    • ALL

      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.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            bryanpkc Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: