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

transactions_multi_writes.js should not use assert.writeOK for plain js objects

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2019-05-06
    • 21

    Description

      The assert in question:

      https://github.com/mongodb/mongo/blob/b8d3c0f4845092c4a52844f05153f38035fd96aa/jstests/sharding/transactions_multi_writes.js#L68

      This is because assert.writeOK can only check the writeErrors properly if it's a WriteResult/BulkWriteResult

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: