Invalidated report should be archived #16594
Labels
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
@diosmosis I'm thinking there may be an issue around invalidation.
When executing eg
CoreAdminHomeApi::getInstance()->invalidateArchivedReports($idsite =1, 'today', 'day', false, false);
then it generates 4 entries in the archive invalidations table:When I then run the CLI archiver, it only processes the first archive for the day. All other ones are ignored in
usableArchiveExists
because it found a usable archive for these periods.This archive is invalidated though
and therefore it should reprocess the archive and not consider it as usable as such AFAIK.
In this case the invalidation was specifically requested and therefore it has to be reprocessed. FYI In my case in Matomo for WordPress I have these TTLs configured:
It is different when:
This I think works already.
The text was updated successfully, but these errors were encountered: