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

Extend collation testing to include explicit simple collation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: