Skip to content

Commit

Permalink
Improve cluster config APIs and config handling
Browse files Browse the repository at this point in the history
Summary:
Some improvements to the RAFT cluster configuration APIs provided by
`wa_raft_server` as well as improvements to the RAFT server's internal
handling of cluster configurations. Some cleanup to comment headers in
the RAFT server source.

Differential Revision: D59689212

fbshipit-source-id: 44c980cd072088de72340663956c656f3dea4fbd
  • Loading branch information
hsun324 authored and facebook-github-bot committed Jul 15, 2024
1 parent 43126fa commit ecb6f0a
Show file tree
Hide file tree
Showing 2 changed files with 244 additions and 125 deletions.
3 changes: 0 additions & 3 deletions include/wa_raft.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@

-define(READ_OP, '$read').

%% Current version of RAFT config
-define(RAFT_CONFIG_CURRENT_VERSION, 1).

%%-------------------------------------------------------------------
%% Metrics
%%-------------------------------------------------------------------
Expand Down
Loading

0 comments on commit ecb6f0a

Please sign in to comment.