Revert "tape: also abort backup/restore on server shutdown"

This reverts commit 9bd81bb384.

Turns out this is not really a good idea.
This commit is contained in:
Dietmar Maurer
2021-03-02 08:00:10 +01:00
parent 9bd81bb384
commit 1d14c31658
3 changed files with 0 additions and 10 deletions

View File

@ -378,7 +378,6 @@ fn restore_chunk_archive<'a>(
while let Some((digest, blob)) = decoder.next_chunk()? {
worker.check_abort()?;
crate::tools::fail_on_shutdown()?;
if let Some(datastore) = datastore {
let chunk_exists = datastore.cond_touch_chunk(&digest, false)?;
@ -478,7 +477,6 @@ fn try_restore_snapshot_archive<R: pxar::decoder::SeqRead>(
loop {
worker.check_abort()?;
crate::tools::fail_on_shutdown()?;
let entry = match decoder.next() {
None => break,