spec/support/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml in mongo-2.4.0.rc1 vs spec/support/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml in mongo-2.4.0
- old
+ new
@@ -1,8 +1,8 @@
# Primary has wire version 5, secondary has 4, read preference primaryPreferred
-# with maxStalenessMS. The client must error, even though it uses primary and
-# never applies maxStalenessMS. Proves that the compatibility check precedes
+# with maxStalenessSeconds. The client must error, even though it uses primary and
+# never applies maxStalenessSeconds. Proves that the compatibility check precedes
# filtration.
---
topology_description:
type: ReplicaSetWithPrimary
servers:
@@ -20,8 +20,8 @@
lastUpdateTime: 0
maxWireVersion: 4 # Too old.
lastWrite: {lastWriteDate: {$numberLong: "1"}}
read_preference:
mode: PrimaryPreferred
- maxStalenessMS: 50000
+ maxStalenessSeconds: 150
error: true