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

Remove injectExpressionContext() methods from pipeline directory

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.2
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: