Staging instance, all changes can be removed at any time

Skip to content

replayer: Filter out colliding contents when replaying

Now that we have the colliding contents details [1], we can be less lossy when replaying contents to another storage.

Prior to this commit, we would not write the batch of contents to the destination if a collision was detected [2]. Now we keep those out of the loop if any. Effectively, not writing the colliding hashes to the destination storage.

We still have to decide what to do for the colliding contents... For that, we still have the logs referencing the colliding contents though (and sentry [1]).

Note that could be a shared behavior, in a retrying proxy for example?

Test Plan

tox


Migrated from D2800 (view on Phabricator)

Merge request reports

Loading