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

Enforce maxStalenessSeconds >= 90

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.0-rc4
    • Fix Version/s: 3.4.2, 3.5.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • Sprint:
      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 Andy Schwerin Misha Tyulenev

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: