Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement transactional package upload #2

Open
LeonidVas opened this issue Apr 21, 2021 · 2 comments
Open

Implement transactional package upload #2

LeonidVas opened this issue Apr 21, 2021 · 2 comments

Comments

@LeonidVas
Copy link
Contributor

Now a situation is possible when some package files were uploaded and after the operation is fail. Such behavior lead to an inconsistent state of the repository (partially uploaded package). To avoid such situation, it's necessary to implement transactional uploading of the package (the package is either fully loaded or not loaded at all).

@LeonidVas
Copy link
Contributor Author

I think it can be done by using a "limbo" (temporary storage) on S3 where the package will be uploaded and then moved it to the repo.

@LeonidVas
Copy link
Contributor Author

Before implementing, is needed to write an RFC describing the proposed implementation, the various cases of "something went wrong" when package uploading, and how the proposed solution would work in those cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants