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
Wrong parameters (date range) used when finishing a previously started queue #8261
Comments
I'm not quite sure if I understand. I think one bug might be that if someone uses Also the queue should maybe not used in general if a |
This was actually changed on purpose, see: #7682 and #7614
Good point! I think it is the right fix, to not use the shared queue when Maybe there are other parameters that when set, should not use a shared queue? |
By the way there is also a related problem that whenever we run the archiver we set the archiving time at the end: https://github.com/piwik/piwik/blob/2.14.3/core/CronArchive.php#L399 This means when executing the archiver the next time we will just look for that |
Maybe it might be worth having a look at this in 2.15 as it will be the stable version for a year @mattab |
@tsteur thanks for suggestion, moving to 2.15.0 👍 Let me know how you see a fix for this, or we can discuss in the PR. |
I'm not working on this one |
Thanks for contributing to this issue. As it has been a few months since the last activity and we believe this is likely not an issue anymore, we will now close this. If that's not the case, please do feel free to either reopen this issue or open a new one. We will gladly take a look again! |
Run:
./console core:archive --force-all-websites --force-date-range=2015-06-01,2015-06-25
which for some reason quits in the middle of the list of 20 sites.
Later on, run:
./console core:archive --force-all-websites --force-date-range=2015-05-01,2015-05-31
the output of which gives
Will ignore websites and help finish a previous started queue instead. IDs: 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
while the rest of the output will be like
Archived website id = 15, period = year, 4 segments, 1352807 visits in years included in: 2015-05-01,2015-05-31, Time elapsed: 495.273s
I hereby conclude that the previous job was finished but with the new parameters (date range). It means that my instruction to archive May was only half honoured while the one to archive June was never actually finished.
The text was updated successfully, but these errors were encountered: