To get a better of the current dynamics of failing geoshape/geoline request it would be helpful do have more insights when/where/how often these happen. We assume, that many of these fails are related to failing database request due to out-of-sync database replicas.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | BUG REPORT | None | T312913 Geoline is shown in the article, but not in full size map view | ||
Resolved | thiemowmde | T316075 Log when geoshape/geoline requests return empty data | |||
Resolved | WMDE-Fisch | T317761 Tag, release and use mapdata lib with more logging |
Event Timeline
Change 827536 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):
[mediawiki/services/kartotherian@master] Log when geoshape/geoline requests return empty data
Change 827536 merged by jenkins-bot:
[mediawiki/services/kartotherian@master] Log when geoshape/geoline requests return empty data
Change 828949 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mapdata@master] [WIP] Log failing promises everywhere
Change 828953 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/services/kartotherian@master] [WIP] Log failing promises everywhere
@awight, I continued to play around on https://logstash.wikimedia.org/ and the only thing I found are log entries that appear to be about successful calls of the mapdata query API: https://logstash.wikimedia.org/app/dashboards#/view/2aaec610-e0cc-11ec-bb3e-0bc9ce387d88?_g=h@42b0d52&_a=h@d97f21b. They are marked as NOTICE. HTTP status is 200. The only thing that looks suspicious is the user agent: kartotherian/2.0.0 undefined. The undefined at the end is the userAgentContact in kartotherian's lib/geoshapes/index.js. Where does this get lost?
You can tell these are the HTTP requests made from the mapdata lib's DataLoader class back to MediaWiki because of the user agent and the mpdlimit=max. That's something that's set in DataLoader.js.
Another thing that might be related is what's demoed in https://gerrit.wikimedia.org/r/826267. A detailed description is in T315913#8181289.
Change 829227 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/services/kartotherian@master] Don't put "undefined" in the user-agent
Change 829227 merged by jenkins-bot:
[mediawiki/services/kartotherian@master] Don't put "undefined" in the user-agent
Change 828949 merged by jenkins-bot:
[mapdata@master] Log failing promises everywhere
Change 831108 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):
[mediawiki/services/kartotherian@master] Don't put "undefined" in the user-agent
Change 828953 merged by jenkins-bot:
[mediawiki/services/kartotherian@master] Log failing promises everywhere
Change 831108 merged by jenkins-bot:
[mediawiki/services/kartotherian@master] Don't put "undefined" in the user-agent