Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5682 Add CSOT support for socket read/write at the connection layer for CRUD APIs (not including cursors)
  3. NODE-6092

Implement CSOT logic to add maxTimeMS to commands and short-circuit commands expected to timeout

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.11.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • 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?

      Use Case

      As a... Driver Engineer
      I want... to add the maxTimeMS field to server commands
      So that... we can avoid connection churn

      User Impact

      • None, internal refactor

      Dependencies

      • upstream and/or downstream requirements and timelines to bear in mind

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • Implement addition of maxTimeMS field to commands before they are sent to the server as per the Command Execution section of the CSOT spec
      • Implement logic to prevent commands from being sent to the server that are expected to timeout as per the Command Execution section of the CSOT spec
      • Implement socket operation section of the Command Execution portion of the CSOT spec

      Testing Requirements

      • Unskip command-execution spec tests pulled in by NODE-5681

      Documentation Requirements

      • None, deferring until CSOT release

      Follow Up Requirements

      • None

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            warren.james@mongodb.com Warren James
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: