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

Views collation check should traverse through nested $lookup pipelines

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: