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

Allow maxStalenessSeconds values as small as 40

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • 3.4.0-rc3
    • None
    • Sharding
    • None
    • Sharding

    Description

      mongos 3.4 adheres to the original Max Staleness Spec, which said that maxStalenessSeconds must be at least twice heartbeatFrequencyMS. mongos's replica set monitoring period is 30 seconds (right?) that means its smallest maxStalenessSeconds is 60.

      Update for a recent change to the Max Staleness Spec: maxStalenessSeconds must be at least heartbeatFrequencyMS + idleWritePeriodMillis, which are 30 and 10 seconds. Therefore the smallest maxStalenessSeconds is 40.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-sharding Backlog - Sharding Team
              jesse@mongodb.com A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: