Skip to content

Commit

Permalink
Doc: fix FAQ: remove non-0.8 features
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Dec 15, 2023
1 parent 4a9672d commit fe07ee4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion openraft/src/docs/faq/faq-toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
- [How to remove node-2 safely from a cluster `{1, 2, 3}`?](#how-to-remove-node-2-safely-from-a-cluster-1-2-3)
- [What actions are required when a node restarts?](#what-actions-are-required-when-a-node-restarts)
- [What will happen when data gets lost?](#what-will-happen-when-data-gets-lost)
- [Can I wipe out the data of ONE node and wait for the leader to replicate all data to it again?](#can-i-wipe-out-the-data-of-one-node-and-wait-for-the-leader-to-replicate-all-data-to-it-again)
- [Is Openraft resilient to incorrectly configured clusters?](#is-openraft-resilient-to-incorrectly-configured-clusters)
5 changes: 0 additions & 5 deletions openraft/src/docs/faq/faq.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
### What are the differences between Openraft and standard Raft?

- Optionally, In one term there could be more than one leaders to be established, in order to reduce election conflict. See: std mode and adv mode leader id: [`leader_id`][];
- Openraft stores committed log id: See: [`RaftLogStorage::save_committed()`][];
- Openraft optimized `ReadIndex`: no `blank log` check: [`Linearizable Read`][].
- A restarted Leader will stay in Leader state if possible;
- Does not support single step memebership change. Only joint is supported.

Expand Down Expand Up @@ -88,11 +86,8 @@ pub(crate) fn following_handler(&mut self) -> FollowingHandler<C> {

[`single-term-leader`]: `crate::docs::feature_flags#single_term_leader`

[`Linearizable Read`]: `crate::docs::protocol::read`
[`leader_id`]: `crate::docs::data::leader_id`

[`RaftLogStorage::save_committed()`]: `crate::storage::RaftLogStorage::save_committed`

[`add_learner()`]: `crate::Raft::add_learner`
[`change_membership()`]: `crate::Raft::change_membership`

Expand Down

0 comments on commit fe07ee4

Please sign in to comment.