goraft / raft

UNMAINTAINED: A Go implementation of the Raft distributed consensus protocol.
MIT License
2.43k stars 480 forks source link

Add sync registration and method #127

Closed xiang90 closed 11 years ago

xiang90 commented 11 years ago

Some application might want to let leader trigger a sync event every given time. So I think we can provide a api to let application register sync event and send it out from leader. @benbjohnson