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

Allow maxStalenessSeconds values as small as 40

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.0-rc3
    • 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

        Activity

          People

            backlog-server-sharding [DO NOT USE] 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: