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

Allow maxStalenessSeconds values as small as 40

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.0-rc3
    • Component/s: Sharding
    • None
    • Sharding

      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.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: