Skip to content

Commit

Permalink
backend: add todo about fault-tolerance and data consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Dec 2, 2024
1 parent f69d158 commit b7e8788
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions backend/run/copr-change-storage
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ def main():
log.info("Skipping: %s", resultdir)
continue

# TODO Fault-tolerance and data consistency
# Errors when creating things in Pulp will likely happen
# (networking issues, unforseen Pulp validation, etc). We
# should figure out how to ensure that all RPMs were
# successfully uploaded, and if not, we know about it.
#
# We also need to make sure that no builds, actions, or cron,
# are currently writing into the results directory. Otherwise
# we can end up with incosystent data in Pulp.

full_name = "{0}/{1}".format(owner, subproject)
result = storage.init_project(full_name, chroot)
if not result:
Expand Down

0 comments on commit b7e8788

Please sign in to comment.