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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: