bareos: dev 26f38a79

Author Committer Branch Timestamp Parent
joergs joergs dev 2018-08-31 16:48 dev 486ab772 Pending
Changeset droplet: improves handling when truncating volumes

Without this change, errors when truncating a droplet volume are silently ignored.
This has resulted in errors afterwards
(After truncating done by automatic recycling, some of the chunks did still exist.
When using the volume afterwards, Bareos complains about not matching volume sizes.)

Now, if truncating fails,
the job fails and the volume state is set to Error.
mod - src/stored/backends/droplet_device.c Diff File
mod - src/stored/backends/droplet_device.h Diff File