Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learners promotion v1 #15

Closed

Commits on Nov 4, 2020

  1. r/stms: use ctxlogger copy constructor

    Copying raft logger, instead of creating new one.
    
    Signed-off-by: Michal Maslanka <michal@vectorized.io>
    mmaslankaprv committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    0a1f59c View commit details
    Browse the repository at this point in the history
  2. r/consensus: implemented learners promotion

    Added implementation of learners promotion to raft::consensus. When node
    is added to the cluster it first became a learner. When the node is
    fully caught up with the leader it is promoted to be a voter.
    Learner node have following properties:
    
    - Can not become a leader
    - Are not included into quorum
    - Can grant vote
    - Accept append entries requests
    
    Signed-off-by: Michal Maslanka <michal@vectorized.io>
    mmaslankaprv committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    9d669eb View commit details
    Browse the repository at this point in the history