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

Views collation check should traverse through nested $lookup pipelines

    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Query 2019-02-11

      It looks like $lookup's implementation of addInvolvedCollections is incorrect. It neglects to include any namespaces that are referenced in a subpipline, should one exist.

      It looks like this method is only used to check that all involved views are using the same collation, so the impact of this bad implementation would be a failure to detect mixed collations within a $lookup subpipeline.

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

              Created:
              Updated:
              Resolved: