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

Update expected result for jstests/replsets/batch_write_command_wc.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc1, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0
    • Query Optimization 2021-06-14
    • 82

      Code was recently introduced to allow the insertion of documents containing $-prefixed fields, such that the document {$invalid: 'doc'} is no longer actually invalid. This is why n=2 instead of 1 like we expect in this test.

      The solution should be to change {$invalid: 'doc'} in the test to something like {_id: /a/}, which is still considered an invalid document, so that we can still test inserting one valid/ one invalid document with the invalid write concern.

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: