change loop to lambda function
Merge branch 'master' of https://github.com/hhkbp2/rafted
fix typo
clean up inflight request and entry
add log for follower state
add log for candidate state