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

Custom date ranges are still being archived when --force-periods=day #8572

Closed
quba opened this Issue Aug 13, 2015 · 0 comments

Comments

Projects
None yet
3 participants
@quba
Contributor

quba commented Aug 13, 2015

When I'm using --force-periods=day I'd expect that Piwik will archive only day period. Unfortunately that's not the case. Please see below:

INFO [2015-08-13 15:05:56] START
INFO [2015-08-13 15:05:56] Starting Piwik reports archiving...
INFO [2015-08-13 15:05:56] Will pre-process for website id = 2, period = day, date = last2
INFO [2015-08-13 15:05:56] - pre-processing all visits
INFO [2015-08-13 15:05:57] Archived website id = 2, period = day, 0 segments, 0 visits in last last2 days, 0 visits today, Time elapsed: 0.003s
INFO [2015-08-13 15:05:57] Will pre-process for website id = 2, period = range, date = last7
INFO [2015-08-13 15:05:57] - pre-processing all visits
INFO [2015-08-13 15:06:01] Archived website id = 2, period = range, 0 segments, 533 visits in last last7 ranges, 533 visits this range, Time elapsed: 3.388s
INFO [2015-08-13 15:06:01] Will pre-process for website id = 2, period = range, date = last30
INFO [2015-08-13 15:06:01] - pre-processing all visits
INFO [2015-08-13 15:06:06] Archived website id = 2, period = range, 0 segments, 2375 visits in last last30 ranges, 2375 visits this range, Time elapsed: 4.857s
INFO [2015-08-13 15:06:06] Will pre-process for website id = 2, period = range, date = previous30
INFO [2015-08-13 15:06:06] - pre-processing all visits
INFO [2015-08-13 15:06:09] Archived website id = 2, period = range, 0 segments, 2383 visits in last previous30 ranges, 2383 visits this range, Time elapsed: 2.873s
INFO [2015-08-13 15:06:09] Archived website id = 2, 4 API requests, Time elapsed: 12.631s [1/1 done]
INFO [2015-08-13 15:06:09] Done archiving!

@quba quba changed the title from Custom date ranges are still being archived while forcing periods to Custom date ranges are still being archived when --force-periods=day Aug 13, 2015

@mattab mattab added this to the 2.15.0 milestone Aug 13, 2015

@mattab mattab added the Bug label Aug 13, 2015

@mattab mattab modified the milestones: 2.15.0, 2.15.1 Aug 17, 2015

@tsteur tsteur modified the milestones: 2.15.0, 2.15.1 Aug 30, 2015

@tsteur tsteur self-assigned this Aug 30, 2015

@diosmosis diosmosis closed this in #8667 Aug 30, 2015

diosmosis added a commit that referenced this issue Aug 30, 2015

Merge pull request #8667 from piwik/8572
Fixes #8572, fix custom date ranges are still being archived when --force-periods=day.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment