bareos: master 72fdaafc

Author Committer Branch Timestamp Parent
arogge arogge master 2024-11-27 12:21 master fc0e52a1 Pending
Changeset chunked_device: fix bug in ChunkedVolumeSize()

While writing to a chunk, a call to ChunkedVolumeSize() would not return
the correct size, as it got the size by either looking at the upload
queue or asking the backend storage.
The patch adds a third option: if the current chunk has been written,
its last offset represents the end of the volume.
mod - core/src/stored/backends/chunked_device.cc Diff File