HomeSoftware Heritage

Don't use a join in origin_visit_get_latest.

Description

Don't use a join in origin_visit_get_latest.

This changes the behavior of snapshot_get_latest, to raise an
error in case a visit references an unknown snapshot.
This should not happen in practice (unless we're replaying
from a journal).

snapshot_get_latest will be removed in the next monthes anyway.

Details

Provenance
vlorentzAuthored on Jun 14 2019, 1:55 PM
vlorentzPushed on Jul 9 2019, 3:07 PM
Differential Revision
D1586: Don't use a join in origin_visit_get_latest.
Parents
rDSTOCdc7c1e0ad049: Add test for snapshot/release counters.
Branches
Unknown
Tags
Unknown