CLI Archiver should not launch daily and weekly/monthly/yearly archiving at the same time #12718
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Milestone
This may happen for segments when you for example launch two archivers via the CLI.
The problem is, that the weekly archive requires the daily archive and this could potentially result in missing data or in additional work as they weekly archive may archive the days as well.
In #12702 we have already added a command to check whether another CLI command is already running to not process twice at the same time the same archive. However, in this case it wouldn't work directly because the period, and the date is different.
So when archiving week, we would need to check for example if
day/last52
is already running, before archiving month, we would need to check also additionally forweek/last260
etc...The text was updated successfully, but these errors were encountered: