HomeSoftware Heritage

Fix SWHIndexingLister.db_partition_indices(); ensure partition size is not zero

Description

Fix SWHIndexingLister.db_partition_indices(); ensure partition size is not zero

when this lister is called for the first time, db_num_entries() may return
a null value, so the min() will also be zero, making the range() call crash.

Details

Provenance
douarddaAuthored on Jan 14 2019, 11:57 AM
douarddaPushed on Jan 15 2019, 4:28 PM
Differential Revision
D940: Fix SWHIndexingLister.db_partition_indices(); ensure partition size is not zero
Parents
rDLS028ceca90d72: Fix bitbucker lister: request_uri expect 'identifier' to be a date
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3514
Build 4552: test-and-build