mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-09-19 09:07:46 -04:00
Previously zmaudit logged "Finished resyncing Event_Summaries" / "Finished updating Storage DiskSpace" unconditionally as long as the aggregate SELECTs succeeded, masking per-row UPDATE failures (e.g. zmDbDo exhausting its deadlock retries) and skipped aggregate column groups. Track which aggregates were skipped and which per-monitor / per-storage UPDATEs failed (zmDbDo returns undef on failure), and surface that in the audit log instead of claiming the resync is complete.