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

Fix missing DVJ-ID's #10

Open
paasovaara opened this issue Dec 14, 2018 · 1 comment
Open

Fix missing DVJ-ID's #10

paasovaara opened this issue Dec 14, 2018 · 1 comment

Comments

@paasovaara
Copy link

In production we get a lot of errors because Pubtrans source cannot find data for certain DVJ-ID's. This means that these events are discarded. Find out why this happens and possibly fix our SQL. Example DVJ-ID's can be easily found using Graylog with filter:

(application_name:transitdata_arrival_source OR application_name:transitdata_departure_source) AND json_level:WARN

@paasovaara
Copy link
Author

paasovaara commented May 2, 2019

example case of a trip which is not found by our sql query, dvj-id: 7990505708106673 ran on May 2019

These are the two filters in the query that don't match:

AND KVV.IsForObjectId = VJ.Id
AND VJT.IsWorkedOnDirectionOfLineGid IS NOT NULL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant