@tsteur opened this Issue on April 27th 2020 Member

There was https://github.com/matomo-org/matomo/pull/15749 and https://github.com/matomo-org/matomo/issues/15747

But I think it might not fully work actually. In performance insights still seeing these queries executed quote often and taking quite some resources. It seems like might be because in getDb() https://github.com/matomo-org/matomo/blob/3.13.5-rc1/core/DataAccess/LogAggregator.php#L1188 we always create a new instance of ArchivingDbAdapter and therefore https://github.com/matomo-org/matomo/blob/3.13.5-rc1/core/DataAccess/ArchivingDbAdapter.php#L37 would be quite often null.

BTW should maybe change the default value to 0 so it's not null + $timeBetweenReexpires in reexpireLock().

Maybe would somehow need to remember the last time per archiving lock?

fyi @diosmosis

@diosmosis commented on April 28th 2020 Member

@tsteur fyi created a PR

@diosmosis commented on April 29th 2020 Member

Fixed by #15874

This Issue was closed on April 29th 2020
Powered by GitHub Issue Mirror