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

Remove injectExpressionContext() methods from pipeline directory

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.2, 3.5.2
    • Aggregation Framework
    • None
    • Fully Compatible
    • Query 2016-11-21, Query 2016-12-12, Query 2017-01-23

    Description

      Before SERVER-25038 we were parsing the aggregation pipeline before we acquired the collection lock, and thus before we knew whether there was a default collation to use, so we added injectExpressionContext() as a callback to inform the pipeline of the new collation (if necessary). Once SERVER-25038 is resolved, we can remove injectExpressionContext(), and make everything that might make string comparisons take an ExpressionContext as an argument to the constructor/parser, thus ensuring all comparisons can use the correct collation.

      Attachments

        Issue Links

          Activity

            People

              charlie.swanson@mongodb.com Charlie Swanson
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: