Skip to content
  • Kyle Yetter's avatar
    c7756692
    Fixes bug where Geo servers may leave orphaned Upload rep. stuck · c7756692
    Kyle Yetter authored
    In Geo configurations, when replicating between primary server and
    secondaries, some Upload records with bad data state will fail when
    Sidekiq goes to replicate the data. In particular, Upload records that
    are orphaned from their owner record (e.g. the associated project)
    through record deletion will start the replication, throw an exception,
    and leave the replication job in active "in progress" state until our
    regular failed job guard jumps in and kills the active job 8 hours
    later.
    
    These changes resolve this particular situation, and enhance the overall
    error message presentation for better troubleshooting. Now, if an Upload
    is orphaned from its model_record, the associated registry record will
    mark as failed and have a detailed error message pointing to the data
    inconsistency.
    
    Changelog: fixed
    EE: true
    c7756692
    Fixes bug where Geo servers may leave orphaned Upload rep. stuck
    Kyle Yetter authored
    In Geo configurations, when replicating between primary server and
    secondaries, some Upload records with bad data state will fail when
    Sidekiq goes to replicate the data. In particular, Upload records that
    are orphaned from their owner record (e.g. the associated project)
    through record deletion will start the replication, throw an exception,
    and leave the replication job in active "in progress" state until our
    regular failed job guard jumps in and kills the active job 8 hours
    later.
    
    These changes resolve this particular situation, and enhance the overall
    error message presentation for better troubleshooting. Now, if an Upload
    is orphaned from its model_record, the associated registry record will
    mark as failed and have a detailed error message pointing to the data
    inconsistency.
    
    Changelog: fixed
    EE: true
Loading