diff --git a/src/ra_server.erl b/src/ra_server.erl index 35d6bde5..57416bd3 100644 --- a/src/ra_server.erl +++ b/src/ra_server.erl @@ -1640,8 +1640,6 @@ filter_follower_effects(Effects) -> [C | Acc]; (garbage_collection = C, Acc) -> [C | Acc]; - (update_leaderboard = C, Acc) -> - [C | Acc]; ({delete_snapshot, _} = C, Acc) -> [C | Acc]; ({send_msg, _, _, _Opts} = C, Acc) -> diff --git a/src/ra_server_proc.erl b/src/ra_server_proc.erl index 2a554416..09215a7f 100644 --- a/src/ra_server_proc.erl +++ b/src/ra_server_proc.erl @@ -1345,9 +1345,6 @@ handle_effect(_, garbage_collection, _EvtType, State, Actions) -> true = erlang:garbage_collect(), incr_counter(State#state.conf, ?C_RA_SRV_GCS, 1), {State, Actions}; -handle_effect(_, update_leaderboard, _EvtType, State, Actions) -> - %% Now a no-op. Was calling `ra_leaderboard:record/3' in the past. - {State, Actions}; handle_effect(_, {monitor, _ProcOrNode, PidOrNode}, _, #state{monitors = Monitors} = State, Actions0) -> {State#state{monitors = ra_monitors:add(PidOrNode, machine, Monitors)},