coreos/etcd — pull request #1586 by xiangli-cmu (2014-11-03 20:30:18+00:00)
Title: *: add a Advance interface to raft.Node

Node set the applied to committed right after it sends out Ready to application. This is not
correct since the application has not actually applied the entries at that point. We add a
Advance interface to Node. Application needs to call Advance to tell raft Node its progress.
Also this change can avoid unnecessary copying when application is still applying entires but
there are more entries to be applied.