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

Extend collation testing to include explicit simple collation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      I realized after we approved and merged SERVER-73139 that one case which has caused bugs before is when the user has a non-simple default collation on the collection, but wants to override that with the simple collation. The "simple" collation is the default without any collation specified, so it just uses the default BSON/UTF-8 comparisons. This has caused bugs before because it is represented as a nullptr collation.

      See for example SERVER-72224, SERVER-24433, and SERVER-71139.

      Let's extend our testing to include this case. cc alyssa.wagenmaker@mongodb.com and fausto.leyva@mongodb.com who were involved in the review of SERVER-73139.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: