• Douglas Barbosa Alexandre's avatar
    Treat registry as SSOT for Uploads · c93ba76a
    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_file_registry_ssot_sync".
    c93ba76a
upload_registry.rb 1.2 KB