Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3139

Revise assertion for unacknowledged client bulkWrite result

    • Needed - No Spec Changes
    • Hide

      Summary of necessary driver changes

      • Command monitoring test for unacknowledged client bulkWrite was changed to accept an unset result and an optional acknowledged=false field (when the result is set).

      Commits for syncing spec/prose tests

      Show
      Summary of necessary driver changes Command monitoring test for unacknowledged client bulkWrite was changed to accept an unset result and an optional acknowledged=false field (when the result is set). Commits for syncing spec/prose tests mongodb/specifications@7891688
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5934 In Code Review
      CXX-3250 Backlog
      CSHARP-5530 Investigating
      GODRIVER-3512 Backlog
      JAVA-5819 Ready for Work
      NODE-6868 Fixed 6.15.1
      MOTOR-1443 Duplicate
      PYTHON-5222 Done
      PHPLIB-1645 In Code Review
      RUBY-3635 Backlog
      RUST-2183 Ready for Work
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5934 In Code Review CXX-3250 Backlog CSHARP-5530 Investigating GODRIVER-3512 Backlog JAVA-5819 Ready for Work NODE-6868 Fixed 6.15.1 MOTOR-1443 Duplicate PYTHON-5222 Done PHPLIB-1645 In Code Review RUBY-3635 Backlog RUST-2183 Ready for Work

      Summary

      DRIVERS-716 introduced command-logging-and-monitoring/tests/monitoring/unacknowledged-client-bulkWrite.yml, which asserts the result of an unacknowledged client-level bulk write (see: 10919c9). This assertion is inconsistent with existing assertions for unacknowledged collection-level bulk writes (e.g. crud/tests/unified/bulkWrite-deleteMany-hint-unacknowledged.yml), despite the client bulk write spec alluding to CRUD: Write Results for modeling unacknowledged results.

      At a minimum, the client-level test should be modified to allow for a completely optional BulkWriteResult and assert a possible value of acknowledged=false.

      Motivation

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: