Make mongos sorted merge respect the collation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Querying, Sharding
    • None
    • Fully Compatible
    • Query 15 (06/03/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are two possible strategies:

      1. Make comparisons in the AsyncResultsMerger use a collator. This will require linking ICU into mongos.
      2. Make the SORT_KEY_GENERATOR stage convert strings inside comparison keys to their corresponding CollatorInterface::ComparisonKey representations. This depends on updating key generation for nested objects and arrays as described in SERVER-23172.

            Assignee:
            David Storch
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: