Enforce maxStalenessSeconds >= 90

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.2, 3.5.1
    • Affects Version/s: 3.4.0-rc4
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v3.4
    • Sharding 2016-12-12, Sharding 2017-01-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Misha Tyulenev (Inactive)
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: