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: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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

      Testing Requirements

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

      Documentation Requirements

      • None, deferring until CSOT release

      Follow Up Requirements

      • None

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

              Created:
              Updated: