Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed May 24, 2024
1 parent 0f1c9c9 commit 120a0b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ra_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1921,6 +1921,7 @@ make_rpc_effect(PeerId, #{next_index := Next} = Peer, MaxBatchSize,
State#{log => Log},
EntryCache);
{LastIdx, _} ->
?DEBUG("snapshot idx ~b", [LastIdx]),
SnapState = ra_log:snapshot_state(Log),
%% don't increment the next index here as we will do
%% that once the snapshot is fully replicated
Expand Down

0 comments on commit 120a0b2

Please sign in to comment.