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

fix(server): Set Server.pendingSnapshot back to nil after saving a snapshot fails. #1506

Closed
wants to merge 1 commit into from

Commits on Oct 30, 2014

  1. fix(server): Set Server.pendingSnapshot back to nil after saving a sn…

    …apshot fails.
    
    When a snapshot fails to save, Sever.pendingSnapshot is not set to nil (like it is after a snapshot is successfully saved).  This causes all future calls to TakeSnapshot() to fail with an error "Snapshot: Last snapshot is not finished."
    
    Fixes etcd-io#1496
    Jeff Stamerjohn authored and Jeff Stamerjohn committed Oct 30, 2014
    Configuration menu
    Copy the full SHA
    82922ee View commit details
    Browse the repository at this point in the history