Skip to content
This repository has been archived by the owner on Aug 18, 2019. It is now read-only.

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

Merged
merged 1 commit into from
Oct 30, 2014

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