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

Robustify $merge all_modes.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.14
    • 4.1.10, 4.1.11
    • Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • 16

    Description

      The test may fail in sharded passthrough mode in some cases. For instance, in a test that verifies 'whenMatched: fail, whenNotMatched: insert' mode we expect the test to return a DuplicateKey error, but also insert some documents in the target collection. The test was written with the assumption that documents in the source collection will be always processed in the same order as they were inserted into the collection. In a sharded cluster this assumption is wrong. 

      Attachments

        Activity

          People

            anton.korshunov@mongodb.com Anton Korshunov
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: