$out is dependent on local collection catalog lookup to check for views

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.0
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Discovered in SERVER-89614. $out for time-series can now run on mongos or any shard that owns the unsharded collection. Because $out no longer just runs on the primary shard we cannot use the local collection catalog to look up if we have an existing view. We should implement a new process interface function to handle the different cases. We can use the collection catalog for replicas and standalones, but we need to run a listCollection command on sharded clusters.

            Assignee:
            Gil Alon
            Reporter:
            Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: