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.
dcr->VolCatInfo.VolLastPartBytes = 0;
dcr->VolCatInfo.VolCatCloudParts = 0;
- openmode = CREATE_READ_WRITE;
- if (!open_next_part(dcr)) {
- goto get_out;
- }
-
- /* check if the current volume is present in the proxy */
- if (!probe_cloud_proxy(dcr, getVolCatName())) {
- goto get_out;
- }
-
/* wrap the uploads in a parts ilist */
transfer *tpkt;
foreach_alist(tpkt, dcr->uploads) {