<p>In RAFT 
First thing is leader must be elected.
To update a data in log, leader must get majority of voting.</p>

<p>In this case after first 2 rounds leader changes.
in 3rd and 4th round new leader updates data.
But in final round leader doesn't get opportunity to update the "e7" as the leader doesn't get majority.  </p>

CC BY-SA 4.0
2018-09-06T14:29:25.197Z
2018-09-06T14:29:25.197Z
VforVendetta
<p>Suppose a network of 5 nodes uses RAFT consensus protocol. Each nodes maintains a transactions log which consist of list of log entries. Each log entry again consist of index, term and command. The current log structure which consist of transaction log of all nodes present in the network is as follows - </p>

<p><a href="https://i.sstatic.net/HT4Lh.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HT4Lh.png" alt="Transaction log of all nodes"></a></p>

<p>Then the maximum possible committed entries (i.e. the network can accept entries upto that command) are ?</p>

<consensus>
the maximum possible entries a network can accept in RAFT consensus?
Anonymous
# the maximum possible entries a network can accept in RAFT consensus?

(Asked by: username_0 on 2018-08-31)

Suppose a network of 5 nodes uses RAFT consensus protocol. Each nodes maintains a transactions log which consist of list of log entries. Each log entry again consist of index, term and command. The current log structure which consist of transaction log of all nodes present in the network is as follows -

[![Transaction log of all nodes](https://i.sstatic.net/HT4Lh.png)](https://i.sstatic.net/HT4Lh.png)

Then the maximum possible committed entries (i.e. the network can accept entries upto that command) are ?

**Tags:** consensus


---

## 1 answers

### Answer by username_1 on 2018-09-06. Score: 0

In RAFT
First thing is leader must be elected.
To update a data in log, leader must get majority of voting.

In this case after first 2 rounds leader changes.
in 3rd and 4th round new leader updates data.
But in final round leader doesn't get opportunity to update the "e7" as the leader doesn't get majority.


---

