bareos: master 738b0151

Author Committer Branch Timestamp Parent
Thorsten Vogel Bareos Bot master 2026-01-16 15:40 master c66516af Pending
Changeset core/filed: fix spurious wakeups race condition in filed.

This patch fixes a race condition in filed due to spurious wakeups.

Without this fix, a thread waiting on the compute_fin condition
variable may wake up spuriously immediately after the lock counter
is decremented but before notify_one() is called. In that window,
the thread can bail out prematurely, which later leads to a
segmentation fault when the other thread calls notify_one().
mod - core/src/filed/backup.cc Diff File