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

Refactor raft state handling #1615

Merged
merged 7 commits into from
Feb 20, 2015
Merged

Refactor raft state handling #1615

merged 7 commits into from
Feb 20, 2015

Commits on Feb 16, 2015

  1. Refactor raft state handling.

    This commit changes the state handling of the raft log. The actions
    for related to each raft state are strictly confined within that state's
    loop. To transition between states, the raft log now much clean up all
    its actions before moving on.
    
    This fixes issues where goroutines were kicked off for one state but
    were delayed in their scheduling so they would begin after the log
    had already changed to another state.
    benbjohnson committed Feb 16, 2015
    Configuration menu
    Copy the full SHA
    f6ceb9b View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2015

  1. Additional raft fixes.

    benbjohnson committed Feb 18, 2015
    Configuration menu
    Copy the full SHA
    be22933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    232b4cf View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2015

  1. minor raft fixes

    benbjohnson committed Feb 19, 2015
    Configuration menu
    Copy the full SHA
    88ef994 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec1e2e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2015

  1. Configuration menu
    Copy the full SHA
    345382a View commit details
    Browse the repository at this point in the history
  2. Fix raft last log index.

    benbjohnson committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    02764a8 View commit details
    Browse the repository at this point in the history