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

Update documentation for outdated SDAM fields

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      We don't actually do anything with ha, so we should stop documenting it.

      The following items are only used by legacy topologies. We should remove their documentation and point to proper docs:

      • autoReconnect: This is technically used by the pool. However, it was only intended to be used by the old single server topology. The new SDAM will either handle this or always enable it, so users should not be configuring it.
      • reconnectTries: depends on autoReconnect
      • reconnectInterval: depends on autoReconnect
      • haInterval: Is replaced by https://docs.mongodb.com/manual/reference/connection-string/#urioption.heartbeatFrequencyMS in new SDAM
      • secondaryAcceptableLatencyMS: Is not used in new SDAM
      • connectWithNoPrimary: Is not used in the new SDAM
      • bufferMaxEntries: Is not used in the new SDAM

      We should start providing deprecation notices for these fields, and prepare to remove them in 4.0.

            Assignee:
            Unassigned Unassigned
            Reporter:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: