mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
The notification cleanup ran at every start and daily on every server, reading and rewriting the same users 24 times at a rollout; a notification added by another server between a read and its write was lost. A run now claims a document per job and day in dailyJobRuns, and the timer looks hourly for an unclaimed day. The file integrity audit read 'lastRun', checked it, then wrote it, so two servers could both scan; one atomic update now claims the run. Continuous backup has no leader: that is documented as single-server, and the lease it needs is not built, so #6861 item 3 stays open and this commit does not close it. Thanks to Raymond-Voogt and xet7 !