Page MenuHomePhabricator

The service should be aware of batch database refreshes
Closed, ResolvedPublic

Description

The data served by sockpuppet will be refreshed on a periodic basis. The DB ingestion/update will be orchestrated by a job running on
a separate system.

We should track whether a data refresh is in progress, and if so we should just return a 504 or similar to Mediawiki rather than act on incomplete information.

Event Timeline

@hnowlan I think this can be closed. When a DB update is in progress, the service returns 504. We have an endpoint to report database update status (/database/refresh).