Page MenuHomePhabricator

Platform API returns batches where parent wiki has been deleted
Open, Needs TriagePublicBUG REPORT

Description

If there is backpressure in the QsBatches queue we might run into the situation where a wiki has been deleted before pending batches are to be processed. As the API now fails to look up the wiki relationship for the batch, returning null, this makes the Queryservice Updater fail as it expects wiki information to be available.

To fix this, the Platform API should:

  • not return batches where there is no wiki
  • prune these batches when pruning failed jobs

Related Objects