open-consul/snapshot
James Phillips 0f959b4fae
Removes timeout when restoring snapshots.
Fixes #3326

Originally I started out making this configurable, but realized it wasn't
worth the complexity. If you are restoring a snapshot, you really need to
wait until it's done, or something bad happens like losing leadership, which
will already trigger an error. Rather than have operators have to tune this
to cover whatever their snapshot size is, we just make it block here. There's
also already a bocking barrier right after the restore that hasn't been a
problem.
2017-12-13 14:10:54 -08:00
..
archive.go
archive_test.go
snapshot.go Removes timeout when restoring snapshots. 2017-12-13 14:10:54 -08:00
snapshot_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00