ktoso / akka-raft

A toy project implementing RAFT on top of Akka Cluster (not prod ready)
http://blog.project13.pl
Apache License 2.0
280 stars 42 forks source link

Fixes #57 #77

Closed dmitraver closed 9 years ago

dmitraver commented 9 years ago

Prevents possible out of memory error by changing map of candidates for whom we are voted to a single candidate value.

ktoso commented 9 years ago

Thanks for the PR, will review tonight!

ktoso commented 9 years ago

Refs #57

ktoso commented 9 years ago

Looks good, thanks for the PR @dmitraver and the hint @colin-scott! You're right that only one value for the currently voted for term is enough and does not sacrifice safety, thanks!

Failure I'd say was unrelated to this PR, sadly it's still fleaky.