Skip to content

Commit

Permalink
Update elp component on WASERVER:master
Browse files Browse the repository at this point in the history
Differential Revision: D58123780

fbshipit-source-id: e0031ed0d31ae768e410ec9a68771585ee790919
  • Loading branch information
ilya-klyuchnikov authored and facebook-github-bot committed Jun 4, 2024
1 parent 602d6e0 commit 703dcd0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/wa_raft_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ stalled(internal, ?ADVANCE_TERM(Term), #raft_state{name = Name, current_term = C

%% [Protocol] Handle any RPCs
stalled(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

%% [AppendEntries] Stalled nodes always discard AppendEntries
Expand Down Expand Up @@ -701,7 +700,6 @@ leader(internal, ?ADVANCE_TERM(Term), #raft_state{name = Name, current_term = Cu

%% [Protocol] Handle any RPCs
leader(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

%% [Leader] Handle AppendEntries RPC (5.1, 5.2)
Expand Down Expand Up @@ -1122,7 +1120,6 @@ follower(internal, ?ADVANCE_TERM(Term), #raft_state{name = Name, current_term =

%% [Protocol] Handle any RPCs
follower(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

%% [Follower] Handle AppendEntries RPC (5.2, 5.3)
Expand Down Expand Up @@ -1307,7 +1304,6 @@ candidate(internal, ?FORCE_ELECTION(Term), #raft_state{name = Name, log_view = V

%% [Protocol] Handle any RPCs
candidate(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

%% [AppendEntries RPC] Switch to follower because current term now has a leader (5.2, 5.3)
Expand Down Expand Up @@ -1404,7 +1400,6 @@ disabled(internal, ?ADVANCE_TERM(Term), #raft_state{name = Name, current_term =

%% [Protocol] Handle any RPCs
disabled(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

disabled(_Type, ?REMOTE(_Sender, ?APPEND_ENTRIES(_PrevLogIndex, _PrevLogTerm, _Entries, _CommitIndex, _TrimIndex)), #raft_state{}) ->
Expand Down Expand Up @@ -1462,7 +1457,6 @@ witness(state_timeout, _, State) ->

%% [Protocol] Handle any RPCs
witness(Type, Event, State) when is_tuple(Event), element(1, Event) =:= rpc ->
% eqwalizer:fixme T169659719
handle_rpc(Type, Event, ?FUNCTION_NAME, State);

%% [Witness] Handle AppendEntries RPC (5.2, 5.3)
Expand Down

0 comments on commit 703dcd0

Please sign in to comment.