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

possible for _slaves data (from which wtimeout is checked) to become stale w.r.t. heartbeat

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • None

    Description

      If there's a delay processing a getMore for the oplog it's possible the heartbeat time will be later than the _slaves time (shown in local.slaves). _slaves potentially could be updated from the heartbeat optime if > the optime found from getMore(), or wtimeout could also take the heartbeat optime into account if > _slaves optime.

      Test demonstrates if you insert a 10s delay, for example, before the processing of getMores()

      Attachments

        Activity

          People

            Unassigned Unassigned
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: