Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
486ab77
commit 26f38a7
Showing
2 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters