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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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()

        1. repro_long_timeout.js
          1.0 kB
          Greg Studer

            Assignee:
            Unassigned
            Reporter:
            Greg Studer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: