bareos: master 23826e84

Author Committer Branch Timestamp Parent
Sebastian Sura arogge master 2025-04-08 15:16 master e12ebfab Pending
Changeset append: fix timed checkpoints for jit reservation

It only makes sense to start the checkpoint interval once we have
reserved the drive, as doing a checkpoint when no data was ever
written; or when data was just first written to disk, does not make
sense.

This commit restarts the checkpoint timer if we use jit reservation to
reserve a drive. This only happens once per backup job, so it cannot
stall the timed checkpoint indefinitely.
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/checkpoint_handler.cc Diff File
mod - core/src/stored/checkpoint_handler.h Diff File