HomeSoftware Heritage

swh.scheduler.backend_es: Return operation failure instead of raising

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

swh.scheduler.backend_es: Return operation failure instead of raising

Prior to this commit, an error would raise and stop all indexation.
As the code is already waiting for a tuple (operation-status, item),
we instead leverage this and continue working on indexation.

All items whose operation-status is False (meaning failure to index,
whatever the reason) is not indexed. Another run would then pickup
the leftover and index it.

Related T986

Details

Provenance
ardumontAuthored on Apr 10 2018, 2:42 PM
ardumontPushed on Apr 10 2018, 5:47 PM

Commit No Longer Exists

This commit no longer exists in the repository.