Skip to content

Commit

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

fbshipit-source-id: 3a315d990df01ee53650c9c578cad73d86028476
  • Loading branch information
VLanvin authored and facebook-github-bot committed Apr 4, 2024
1 parent 86df5a0 commit 9171825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wa_raft_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ leader(Type, ?ADJUST_MEMBERSHIP_COMMAND(Action, Peer, ExpectedConfigIndex),
current_term = CurrentTerm, last_applied = LastApplied} = State0) ->
% Try to adjust the configuration according to the current request.
Config = config(State0),
% eqwalizer:ignore Peer can be undefined
case adjust_config({Action, Peer}, Config, State0) of
{ok, NewConfig} ->
% Ensure that we have committed (applied entries are committed) at least one log entry
Expand Down

0 comments on commit 9171825

Please sign in to comment.