Respond to recent Max Staleness Spec changes:
- Rename maxStalenessMS to maxStalenessSeconds in ReadPreferenceSetting::fromBSON
- Parse maxStalenessSeconds as any numeric type, storing the parsed value in Milliseconds precision.
The smallest value is now heartbeatFrequencyMS + idleWritePeriodMSDeferred toSERVER-26980, the current minimum value in mongos is higher than this, anyhow.- Implement Max Staleness prose tests for mongos in src/mongo/client/read_preference_client_test.cpp.
- is depended on by
-
JAVA-2377 Update Max Staleness implementation
- Closed
- related to
-
SERVER-26980 Allow maxStalenessSeconds values as small as 40
- Closed