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

Update Max Staleness implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.0-rc4
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2016-11-21

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: