Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5207

Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation

    XMLWordPrintableJSON

Details

    • Icon: Spec Change Spec Change
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 5.4.0
    • None
    • Unified Test Runner
    • None
    • 2
    • Hide

      DRIVERS-2577:

      • Drivers should make note of RunCommand implementation details¬†which requires drivers do not inspect nor modify the user's command document.
        • If your driver does modify user input, file a follow up ticket tracking changing that as a future improvement.
      • Add salient documentation for:

      A driver MUST not inspect the user's command, this includes checking for the fields a driver MUST attach to the command sent as described below. Depending on a driver's BSON implementation this can result in these fields being overwritten or duplicated, a driver SHOULD document that using these fields has undefined behavior.

      Show
      DRIVERS-2577 : Drivers must sync the new runCommand unified spec tests: specifications@ab66eaf , specifications@146964a , and specifications@d697477 Drivers should make note of RunCommand implementation details  which requires drivers do not inspect nor modify the user's command document. If your driver does modify user input, file a follow up ticket tracking changing that as a future improvement. Add salient documentation for: A driver MUST not inspect the user's command, this includes checking for the fields a driver MUST attach to the command sent as described below. Depending on a driver's BSON implementation this can result in these fields being overwritten or duplicated, a driver SHOULD document that using these fields has undefined behavior.
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      This ticket was split from DRIVERS-2577, please see that ticket for a detailed description.

      Attachments

        Activity

          People

            neal.beeken@mongodb.com Neal Beeken
            dbeng-pm-bot PM Bot
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: