Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to not invalidate archives when archiving #18957

Open
mikkeschiren opened this issue Mar 17, 2022 · 3 comments
Open

Add the possibility to not invalidate archives when archiving #18957

mikkeschiren opened this issue Mar 17, 2022 · 3 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@mikkeschiren
Copy link
Contributor

Summary

When you are runing core:archive for an old date that needs re-archiving, there should be a possibility (--skip-invalidations or similar), to not invaildate archives

@mikkeschiren mikkeschiren added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Mar 17, 2022
@mikkeschiren
Copy link
Contributor Author

Another use case - if you have archives that take more than 24h to finish - they should not be invalidated if you provide the flag when starting a parallel job.

@sgiehl
Copy link
Member

sgiehl commented Mar 21, 2022

@mikkeschiren Do you have any specific issues around the invalidation. From my understanding an invalidated archive might still be used for displaying reports until a new archive has been fully finished.

@mikkeschiren
Copy link
Contributor Author

There is a couple of issues - one example: in some cases, we need to run cronjobs in parallel for days, weeks, months, years. And the invalidation often comes to more or less a race condition, adding new invalidations when we have archives that need to run for a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants