Skip to content

Commit

Permalink
Make RaftNode's
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jan 23, 2024
1 parent d60106a commit aacdc18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/memstore/static-members/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn validate_options(options: Options) -> Options {
if options.peer_addr.is_some() && options.restore_wal_from.is_some() {
panic!("Cannot restore WAL from follower node");
} else if options.peer_addr.is_some() && options.restore_wal_snapshot_from.is_some() {
panic!("Cannot restore WAL snapshot from follower node");
panic!("Follower node should receive snapshot from leader, not restoring it from storage");
} else {
options
}
Expand Down

0 comments on commit aacdc18

Please sign in to comment.