An example where this bug occurs is pool pool1ndxf966uknq89g8xvurh0cduskr2yq4ua678qt5pkyc4u6eq0mv in preprod. It has 3 certificate, let's call them A B and A again. The second time A is submitted, it's metadata is not inserted because of the unique key. Smash assumes that B is the latest submitted metadata, so it never tries to fetch A again.
An example where this bug occurs is pool
pool1ndxf966uknq89g8xvurh0cduskr2yq4ua678qt5pkyc4u6eq0mv
in preprod. It has 3 certificate, let's call them A B and A again. The second time A is submitted, it's metadata is not inserted because of the unique key. Smash assumes that B is the latest submitted metadata, so it never tries to fetch A again.