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

Enforce maxStalenessSeconds >= 90

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.4.0-rc4
    • 3.4.2, 3.5.1
    • Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2016-12-12, Sharding 2017-01-02

    Description

      Changes to max staleness spec:

      The $readPreference option "maxStalenessSeconds" is no longer allowed to be double, it's once again only int32 or int64. (This change can be put off, need not block 3.4.)

      The minimum is now 90 seconds. (3.4 blocker.)

      See the "mongos tests" section here:

      https://github.com/mongodb/specifications/blob/master/source/max-staleness/max-staleness-tests.rst#mongos

      cc schwerin misha.tyulenev

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: