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

Remove injectExpressionContext() methods from pipeline directory

    • Fully Compatible
    • Query 2016-11-21, Query 2016-12-12, Query 2017-01-23

      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.

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

              Created:
              Updated:
              Resolved: