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

FTS index key version 2 is not endian-safe

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Portability
    • Fully Compatible
    • ALL

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: