Skip to content
Snippets Groups Projects
Unverified Commit 4810ba7c authored by Manish R Jain's avatar Manish R Jain
Browse files

Remove CheckQuorum and unsafe lin read option.

parent ae8e5ffd
No related branches found
No related tags found
No related merge requests found
......@@ -93,8 +93,11 @@ func NewNode(rc *intern.RaftContext, store *raftwal.DiskStorage) *Node {
// follower->leader->majority_of_followers->leader->follower. We lose correctness
// because the Raft ticker might not arrive promptly, in which case the leader would
// falsely believe that its lease is still good.
CheckQuorum: true,
ReadOnlyOption: raft.ReadOnlyLeaseBased,
// Remove both of these, to allow default behavior.
// CheckQuorum causes a lot of network disruption. I'm seeing this with v1.0.6.
// CheckQuorum: true,
// ReadOnlyOption: raft.ReadOnlyLeaseBased,
},
// processConfChange etc are not throttled so some extra delta, so that we don't
// block tick when applyCh is full
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment