Geo: Replicating artifact expirations
Customer tickets:
A couple of customers noticed that artifacts take up much more space on their secondaries than on their primaries. One noticed a 100GB difference and the other one noticed a 640GB difference.
Here's what one customer is seeing on the primary and secondary:
# Primary
irb(main):001:0> Ci::JobArtifact.count
=> 318952
# Secondary
irb(main):001:0> Ci::JobArtifact.count
=> 318965
irb(main):002:0> Geo::JobArtifactRegistry.synced.count
=> 340520
As per this Slack conversation, the problem may be that artifacts aren't being expired on the secondary.