Deduplicate shardIds when building targetedShards

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • ALL
    • v8.2, v8.0, v7.0
    • Hide

      1. Create search index on untracked collection in sharded cluster
      2. Run aggregation with $search + $out

      [
          {$search: {index: "default", text: {query: "action", path: "plot"}}},
          {$out: {db: outputDbName, coll: "output_coll"}}
      ]
      
      Show
      1. Create search index on untracked collection in sharded cluster 2. Run aggregation with $search + $out [ {$search: {index: " default " , text: {query: "action" , path: "plot" }}}, {$out: {db: outputDbName, coll: "output_coll" }} ]
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See this comment in AF-11789 and the attached repro.

            Assignee:
            Lynne Wang
            Reporter:
            Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: