Views collation check should traverse through nested $lookup pipelines

XMLWordPrintableJSON

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

      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
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: