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

Make heartbeat interval configurable to suit low-bandwidth links

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

      The time between heartbeat pings is hardcoded (https://github.com/mongodb/mongo/blob/master/src/mongo/db/repl/heartbeat.cpp#L373) to be 2000 milliseconds. This amounts to quite a lot of traffic for a backup node on an expensive link (it works out at about 3 GB / month / node if there are only two nodes and communication is over a gvpe network).

      It would be useful if it was possible to configure the heartbeat ping time to alternative values.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            a1kmm Andrew Miller
            Votes:
            14 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: