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

$out succeeds when source collection is concurrently dropped in a sharded cluster

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • 111

      if you change this test here https://github.com/mongodb/mongo/blob/70b842700570157b1b0cb49fb503608c4cf2ec6c/jstests/noPassthrough/out_drop_temp_collection.js#L48 to drop the source collection the test fails because the aggregation succeeds. even if you change the wait point to wait until after the source collection has been accessed. This could lead to the collection being recreated or partial results in the output collection.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: