Fix comparison of collations within Create collection coordinator documents

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • 200
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-81447 resolved a great deal of tech debt but forgot to fix the comparison of collations in one place. The translated request params struct contains the full collation object but if there is no default collator then we compare with an empty BSON object, leading it to fail.

      This ticket is about fixing the comparison such that the comparison is done purely on the full objects and the empty BSON obj replaced with the simple collation.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: