]> git.ipfire.org Git - thirdparty/bacula.git/commit
cloud: Fix #8265 Do not re-open part.1 during truncate
authorNorbert Bizet <norbert.bizet@baculasystems.com>
Wed, 3 Nov 2021 13:30:10 +0000 (09:30 -0400)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:04 +0000 (09:03 +0100)
commit17674123f9a8bbef8cf2d8ce14d1e609f50bd513
tree6289d2569197212aaf477bf46a27d4299cb951bc
parentf5b0fe4874806284be5f4356f08b005996f9e489
cloud: Fix #8265 Do not re-open part.1 during truncate

Whem using glacier, if we re-open the part.1 after the truncate,
bacula might have to wait 3 days to get the part.1 from the cloud
to finally truncate it as well. During this call, the SD is locked
and all jobs are blocked.
bacula/src/stored/cloud_dev.c