Sha256: 17e79e27a405e325d56fec0215533cfd53c9da6ee353d02b42ae6c4d2354697e

Contents?: true

Size: 509 Bytes

Versions: 90

Compression:

Stored size: 509 Bytes

Contents

# Attempt to select the secondary, except its tag doesn't match.
# Fall back to primary.
---
topology_description:
  type: ReplicaSetWithPrimary
  servers:
  - &1
    address: a:27017
    avg_rtt_ms: 5
    type: RSPrimary
    tags:
      data_center: nyc
  - &2
    address: b:27017
    avg_rtt_ms: 5
    type: RSSecondary
    tags:
      data_center: sf  # No match.
operation: read
read_preference:
  mode: SecondaryPreferred
  tag_sets:
  - data_center: nyc
suitable_servers:
- *1
in_latency_window:
- *1

Version data entries

90 entries across 88 versions & 3 rubygems

Version Path
mongo-2.4.3 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.1/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
tdiary-5.0.5 vendor/bundle/gems/mongo-2.4.2/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongo-2.4.1/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
mongo-2.4.2 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
tdiary-5.0.4 vendor/bundle/gems/mongo-2.4.1/spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
mongo-2.4.1 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
mongo-2.4.0 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
mongo-2.4.0.rc1 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
mongo-2.4.0.rc0 spec/support/server_selection/selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml