Skip to content

Commit 44e2d5d

Browse files
Onvemberlenkis
authored andcommitted
fix gh-1021 feedback: Configuration reference
update replication_timeout description (cherry picked from commit 6899a4f)
1 parent 23c49ee commit 44e2d5d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/reference/configuration/cfg_replication.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@
4949

5050
.. confval:: replication_timeout
5151

52-
A replica sends heartbeat messages to the master every second, and the
53-
master is programmed to reconnect automatically if it doesn’t see heartbeat
54-
messages more often than ``replication_timeout`` seconds.
52+
If the master has no updates to send to the replicas, it sends heartbeat messages
53+
every ``replication_timeout`` seconds, and each replica sends an ACK packet back.
54+
55+
Both master and replicas are programmed to drop the connection if they get no
56+
response in four ``replication_timeout`` seconds.
57+
If the connection is dropped, a replica tries to reconnect to the master.
5558

5659
See more in :ref:`Monitoring a replica set <replication-monitoring>`.
5760

0 commit comments

Comments
 (0)