Skip to content

Commit 0ac5492

Browse files
committed
Add corrections after review
Part of #2814
1 parent 3ed729b commit 0ac5492

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/dev_guide/internals/box_protocol.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,8 +1418,10 @@ IPROTO_FLAG_WAIT_ACK (0x04) will be set if this is the last message for a synchr
14181418
IPROTO_RAFT = 0x1e
14191419
~~~~~~~~~~~~~~~~~~
14201420

1421-
The IPROTO_RAFT request is broadcasted to all the replicas connected to the node.
1422-
If there should be a response, for example, in case of a vote request to other nodes, the response will be also an IPROTO_RAFT message.
1421+
A node broadcasts the IPROTO_RAFT request to all the replicas connected to it when the RAFT state of the node changes.
1422+
It can be any actions changing the state, like starting a new election, bumping the term, voting for another node, becoming the leader, and so on.
1423+
1424+
If there should be a response, for example, in case of a vote request to other nodes, the response will also be an IPROTO_RAFT message.
14231425
In this case, the node should be connected as a replica to another node from which the response is expected because the response is sent via the replication channel.
14241426
In other words, there should be a full-mesh connection between the nodes.
14251427

0 commit comments

Comments
 (0)