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

Make sure BulkTracking skips requests for nonexistant sites. #8132

Merged
merged 2 commits into from Jun 22, 2015

Conversation

diosmosis
Copy link
Member

As title.

This is to fix matomo-org/matomo-log-analytics#73

Since log importing uses bulk tracking, individual requests cannot be skipped in the python script, so the bug cannot be fixed in the script.

@diosmosis diosmosis added Bug For errors / faults / flaws / inconsistencies etc. c: Log Analytics (import_logs.py) Needs Review PRs that need a code review labels Jun 17, 2015
@diosmosis diosmosis added this to the 2.14.0 milestone Jun 17, 2015
@diosmosis
Copy link
Member Author

Related PR for QueuedTracking: matomo-org/plugin-QueuedTracking#9

@diosmosis
Copy link
Member Author

@tsteur Could you review this + the QueuedTracking build when you can?

@diosmosis diosmosis self-assigned this Jun 20, 2015
@@ -13,6 +13,9 @@ This is a changelog for Piwik platform developers. All changes for our HTTP API'
### Library updates
* Updated pChart library from 2.1.3 to 2.1.4. The files were moved from the directory `libs/pChart2.1.3` to `libs/pChart`

### Other
* During bulk tracking, if a request references a non-existant website, it will be skipped. So bulk tracking requests with one or more of these will succeed where they would have failed before. The number of skipped requests is now reported in bulk tracking responses.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we maybe list it as "breaking change"? It doesn't break code but in terms of functionality? "Breaking change" is maybe too negative though since it is rather a fix. Actually: I'm not sure if we need to list it here at all. It's not really code / platform related. This is more an important notice in the regular changelog since it can change quite a lot for some people (in a good way I think)

@tsteur
Copy link
Member

tsteur commented Jun 21, 2015

I'd personally remove the changelog entry but otherwise 👍

diosmosis added 2 commits June 22, 2015 03:48
…requests will still be tracked. Includes new tests in BulkTracking plugin.
@diosmosis
Copy link
Member Author

@tsteur Removed changelog entry + switched to invalid.

diosmosis added a commit that referenced this pull request Jun 22, 2015
Make sure BulkTracking skips requests for nonexistant sites.
@diosmosis diosmosis merged commit e4a75a3 into master Jun 22, 2015
@diosmosis diosmosis deleted the bulk_track_ignore_errors branch June 22, 2015 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants