Page MenuHomePhabricator

Update Elasticsearch for missing updates from outage on 20150825
Closed, ResolvedPublic

Description

https://wikitech.wikimedia.org/wiki/Incident_documentation/20150825-Redis

We have the ability to update elasticsearch for missing data for outages. We lost some jobs for sure on recovery and we need to run through the timeframes with our recovery process.

Event Timeline

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

We could run:

mwscript extensions/CirrusSearch/maintenance/forceSearchIndex.php --wiki $wiki --from 2015-08-24T17:58:00Z --to 2015-08-25T09:00:00Z

for each wiki.

There are deletes to process as well, all documented at https://wikitech.wikimedia.org/wiki/Search#Recovering_from_an_Elasticsearch_outage.2Finterruption_in_updates

IIRC last time i tried to run that it ended up timing out on the SQL queries. If that happens again we can get around that by setting the timespan by revision id instead of timestamp.