Critical issue with "VisitFrequency" migration in 4.1.2-b1.php #19133
Labels
Potential Bug
Something that might be a bug, but can't be reproduced (yet).
Milestone
This migration from https://github.com/matomo-org/matomo/blob/4.x-dev/core/Updates/4.1.2-b1.php#L50 seems to cause an excessive or maybe even endless amount of rows in the table "archive_invalidations" under some conditions:
In my setup (7mil visits, 20mil pageviews, 50mil actions per month, 400 sites each with ~20 segments, all innocraft plugins installed) the archive cron ran for more than 3 days, using close to 3 GB of memory and never left this function call:
After these 3 days, table "archive_invalidations" had more than 38mil rows and auto increment was at 109mil.
I then:
Now the archive cron runs (and finishes after some minutes) again and reports seem to get generated normally.
The issue happened right after I updated from Matomo 3.14.0 to 4.9.0.
The text was updated successfully, but these errors were encountered: