Sha256: 28a149baa751467cb2ff7f53703133eaabb91a3d41b3dd8c69d7e92fc9fc7d15

Contents?: true

Size: 320 Bytes

Versions: 88

Compression:

Stored size: 320 Bytes

Contents

# maxStalenessSeconds must be at least 90 seconds, even with no known servers.
---
topology_description:
  type: ReplicaSetNoPrimary
  servers:
  - &1
    address: a:27017
    type: Unknown
  - &2
    address: b:27017
    type: Unknown
read_preference:
  mode: Nearest
  maxStalenessSeconds: 1  # Too small.
error: true

Version data entries

88 entries across 86 versions & 3 rubygems

Version Path
mongo-2.21.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.20.1 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mogno-2.20.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mogno-1.0.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.20.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.19.3 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.16.4 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.17.4 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.18.3 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.19.2 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.19.1 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.19.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.18.2 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.17.3 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.18.1 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.18.0 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.17.2 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.16.3 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.18.0.beta1 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
mongo-2.16.2 spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml