Question

Suppose, a network of 5 nodes uses RAFT consensus protocol. The state of the node logs...

Suppose, a network of 5 nodes uses RAFT consensus protocol. The state of the node logs is as follows:

N1: 1.1, 3.1, 3.2
N2: 1.1, 2.1
N3: 1.1
N4: 1.1, 3.1
N5: 1.1, 1.2

Where 1.2 represents the 2nd log from the 1st term. The system is searching for a new leader.

Is there any chance that the transaction of 1.2 committed in future?

A)Yes irrespective of any node as the leader

B)Yes if N5 becomes the next leader

C) No

PLEASE GIVE PROPER EXPLANATION WITH THE ANSWER PROVIDED.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • The log 1.2 present in N5.
  • But 1.1 is present in all given networks from N1 to N5.
  • So we get that all networks are communicate with the help of log 1.1. so according to RAFT 1.1 acts as leader of network system through which these communicate.
  • So execute the log 3.1 we see that log 3.1 is present in N1 and N4.
  • So we can execute 3.1 via N1 and N4 with the help of 1.1 present in all.
  • So correct option is C i.e. possible with N1 and N4 both.
Add a comment
Know the answer?
Add Answer to:
Suppose, a network of 5 nodes uses RAFT consensus protocol. The state of the node logs...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT