Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26927

Update Max Staleness implementation

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2016-11-21

      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 + idleWritePeriodMS Deferred to SERVER-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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: