HomeSoftware Heritage

Populate origin_visit_stats table out of the origin_visit_status topic

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

Description

Populate origin_visit_stats table out of the origin_visit_status topic

The snapshot is used to determine the "eventful/uneventful" nature of the origin visit
status.

When no snapshot is provided, the visit is considered as failed so the last_failed
column is updated.

As there is no time guarantee when reading message from the topic, the code tries to
keep the data in the most timely ordered as possible. Only most recent information is
kept.

Related to T2967

Commit No Longer Exists

This commit no longer exists in the repository.