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

Make retryable write checks against server, not topology

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.10
    • Affects Version/s: 3.6.9
    • Component/s: None
    • None
    • 2
    • Not Needed

      Use Case

      As a Node driver user connected to a sharded cluster with one host and retryWrites=true
      I want the retryWrites option to be respected
      So that retryable writes work

      Acceptance Criteria

      Implementation Requirements
      • change retryability check to use ServerType.Standalone instead of TopologyType.Single
      Testing Requirements
      Documentation Requirements
      • Possibly update 3.5 docs with a warning about this and a note about possible workarounds (since this fix will only be made for 3.6+)

       

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: