andrewjstone / rafter

An Erlang library application which implements the Raft consensus protocol
269 stars 32 forks source link

Fix rafter:start_cluster #27

Closed apanda closed 10 years ago

apanda commented 10 years ago

Currently rafter_log creates a rafter_hint ets table. When multiple rafter_logs are started on one machine this can lead to an ets error. Make the hints table name specific to the peer.

apanda commented 10 years ago

@andrewjstone Done, thanks for the comments.

andrewjstone commented 10 years ago

Thanks for the fix @apanda