(there's clearly a bug somewhere in the loader as we don't have 1110 parallel workers ;))
I'd be tempted to consider that this task is done, and that a followup should be made to investigate and fix the failing repositories.
SQL queries for reference
Count bitbucket lister origins
(on the swh-lister database)
select origin_type, count(*) from bitbucket_repo group by origin_type;
Count latest visits for mercurial bitbucket origins
(on the softwareheritage database)
with origin_latest_visit as ( select origin.url, (select status from origin_visit where origin_visit.origin = origin.id and origin_visit.type = 'hg' order by date desc limit 1) as latest_status from origin where origin.url like 'https://bitbucket.org/%') select latest_status, count(*) from origin_latest_visit where latest_status is not null -- filter out non-mercurial origins group by rollup(latest_status); -- rollup adds a row with a null latest_status containing the sum of all rows