Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-1435

Add function to find Suitable Servers to Topology Description type

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Done
    • None
    • 1.3.0
    • None

    Description

      An internal function to compile a list of suitable servers for an operation should be added to the TopologyDescription type. This function should accept a ReadPreference and initially assume that there is never a {{maxStalenessSeconds }}and no tag sets to filter on. It should return [ServerDescription]:

      The function should apply the rules for each topology type and read preference mode (primary/secondary/primaryPreferred/etc) to determine which servers are suitable.

      Attachments

        Issue Links

          Activity

            People

              nellie.spektor@mongodb.com Nellie Spektor
              nellie.spektor@mongodb.com Nellie Spektor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: