Page MenuHomePhabricator

Set X-Served-By header for wikidata query responses
Closed, ResolvedPublic

Description

Currently the query service is balanced between two node.
Those two nodes currently return slightly different data in slightly different cases.

An example of this is the total number of triples stored.
This can currently be seen at https://grafana.wikimedia.org/dashboard/db/wikidata-query-service

Having the server name in the response header would mean we could track this individually
It would also make debugging easier in the long run

Event Timeline

Addshore raised the priority of this task from to Needs Triage.
Addshore updated the task description. (Show Details)
Addshore added a subscriber: Addshore.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Change 256043 had a related patch set uploaded (by Addshore):
WDQS add X-Served-By header to response

https://gerrit.wikimedia.org/r/256043

Change 256111 had a related patch set uploaded (by Smalyshev):
Add served-by header

https://gerrit.wikimedia.org/r/256111

Change 256043 abandoned by Addshore:
WDQS add X-Served-By header to response

Reason:
https://gerrit.wikimedia.org/r/#/c/256111/

https://gerrit.wikimedia.org/r/256043

Addshore set Security to None.

Change 256111 merged by Andrew Bogott:
Add served-by header

https://gerrit.wikimedia.org/r/256111

Change 256263 had a related patch set uploaded (by Addshore):
WDQS - Repeat addheader X-Served-By for sparql location

https://gerrit.wikimedia.org/r/256263

Change 256263 merged by Andrew Bogott:
WDQS - Repeat addheader X-Served-By for sparql location

https://gerrit.wikimedia.org/r/256263

Addshore claimed this task.

x-served-by header now present in all responses