willemt / raft

C implementation of the Raft Consensus protocol, BSD licensed
Other
1.13k stars 271 forks source link

Add raft_entry_t to membership event callback. #80

Closed yossigo closed 6 years ago

yossigo commented 6 years ago

This extends the notify_membership_event callback so it can fully manage nodes' udata. This also simplifies implementation of other callbacks that no longer need to inspect entries and perform add/remove node operations.

willemt commented 6 years ago

Thanks! This is a needed improvement