Skip to content

Conversation

@nibblerenush
Copy link

@nibblerenush nibblerenush commented Oct 22, 2025

  1. We get rid of the magic number 1 and thus show that the node number must be the same in MemStorage::new_with_conf_state and let cfg = Config { id: ...
  2. Adding an call cfg.validate().unwrap() as it is done in the documentation https://docs.rs/raft/latest/raft/

@ti-chi-bot
Copy link

ti-chi-bot bot commented Oct 22, 2025

Welcome @nibblerenush! It looks like this is your first PR to tikv/raft-rs 🎉

Signed-off-by: Shakhaev Kyamran <shkyga@yandex.ru>
@nibblerenush
Copy link
Author

@BusyJay PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant