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

Views collation check should traverse through nested $lookup pipelines

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: