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

Raise error if hint specified for unacknowledged update using OP_MSG or OP_UPDATE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      GODRIVER-1470 Fixed 1.4.0
      MOTOR-492 Works as Designed
      RUBY-2097 Fixed 2.13.0.beta1
      PYTHON-2104 Duplicate
      NODE-2430 Fixed 3.6.0
      CSHARP-2910 Fixed 2.11.0
      CDRIVER-3499 Works as Designed
      PHPC-1535 Works as Designed
      JAVA-3600 Fixed 4.1.0
      CXX-1912 Fixed 3.6.0-rc0, 3.6.0
      RUST-374 Duplicate
      SWIFT-799 Works as Designed
      $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 */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion GODRIVER-1470 Fixed 1.4.0 MOTOR-492 Works as Designed RUBY-2097 Fixed 2.13.0.beta1 PYTHON-2104 Duplicate NODE-2430 Fixed 3.6.0 CSHARP-2910 Fixed 2.11.0 CDRIVER-3499 Works as Designed PHPC-1535 Works as Designed JAVA-3600 Fixed 4.1.0 CXX-1912 Fixed 3.6.0-rc0, 3.6.0 RUST-374 Duplicate SWIFT-799 Works as Designed

    Description

      Relevant commit from SPEC-1540 is: https://github.com/mongodb/specifications/commit/3f1c19dd55e5a6d9791c319f86d69effa201531d

      This error condition was not stated in the original spec change that introduced the hint option for update operations in SPEC-1334. SPEC-1542 also adds rationale for why we do this for OP_MSG and OP_UPDATE, but not OP_QUERY (i.e. update command before OP_MSG).

      If drivers have not yet implemented DRIVERS-751, they should consider doing this alongside that issue.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: