• Douglas Barbosa Alexandre's avatar
    Treat registry as SSOT for Job Artifacts · 7ba3b7b9
    Douglas Barbosa Alexandre authored
    FileDownloadDispatchWorker looks only at the registry table
    for things that have never been synced.
    
    In order for the counts to be correct, we have to distinguish
    between "never synced" and "failed" with "retry_count" being
    "nil" for the former and "not nil" for the latter.
    
    Feature flag is "geo_job_artifact_registry_ssot_sync".
    7ba3b7b9
job_artifact_registry_finder_spec.rb 15.6 KB