riak_zab
riak_zab copied to clipboard
convert various fsm case clauses to functions+pattern matching
You may wish to add a comment indicating line 146 is only reached when PeerEpoch == Epoch. Otherwise, this is a straightforward conversion from case statements to function clauses and pattern matching. And please do drop us a line at [email protected].