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

*: check data corruption on boot #8554

Merged
merged 4 commits into from
Nov 23, 2017
Merged

Commits on Nov 22, 2017

  1. embed,etcdmain: add "--experimental-initial-corrupt-check"

    Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
    gyuho committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    3db5ad8 View commit details
    Browse the repository at this point in the history
  2. e2e: add corruption checking tests

    Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
    gyuho committed Nov 22, 2017
    Configuration menu
    Copy the full SHA
    1f38f1f View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2017

  1. etcdserver: CheckInitialHashKV when "InitialCorruptCheck==true"

    etcdserver: only compare hash values if any
    
    It's possible that peer has higher revision than local node.
    In such case, hashes will still be different on requested
    revision, but peer's header revision is greater.
    
    etcdserver: count mismatch only when compact revisions are same
    
    Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
    gyuho committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    e0dfc43 View commit details
    Browse the repository at this point in the history
  2. embed: corrupt-check on restart member

    Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
    gyuho committed Nov 23, 2017
    Configuration menu
    Copy the full SHA
    0e4e8ed View commit details
    Browse the repository at this point in the history