-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
See af44ee1#diff-f41c275e883996b8b69cb765b1818e12e82cbe034e648bc3f7d03610cc7abad1R449-R456
The trigger=archivephp flag will cause scheduled tasks to allow archiving. Seems this hack was needed for purgeOutdatedArchives
to work. We should fix this issue so that scheduled tasks won't launch archiving when browser archiving is disabled.
This can otherwise cause many tasks to become very slow (including scheduled reports, custom alerts, some on the cloud). And it can cause issues with other archives that were invalidated in the sense that for example some reports might be archived multiple times or that they are archived in the wrong order and therefore causes results to be wrong under circumstances. Because usually the archiver makes sure to first run all daily archives, then the weekly, then ... vs this way there might be race conditions or other problems maybe.