Hi all,
We are try to improve our Raft implementation's performance recently. Currently we want to remove the NO-OP entry for each leader step-up.
In my opinion, the NO-OP is used to commit entries generated by last leader faster, or we have to wait the first entry generated by current leader in this term. But removing NO-OP wouldn't caused any data lost or consistency issue.
Why we want to remove NO-OP entry:
1. The entry index is continuous.
2. Reduce leader switch time.
The disadvantages caused by no NO-OP entry:
1. The entries generated by last leader in last term will be committed slower. Because they have to wait the first entry generated by current leader.
Do I described correctly? Any comments are welcome.
Thanks,
Dong.