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

Delete uploads from GCS after 20mn #31

Closed
Deleplace opened this issue Aug 15, 2016 · 4 comments
Closed

Delete uploads from GCS after 20mn #31

Deleplace opened this issue Aug 15, 2016 · 4 comments

Comments

@Deleplace
Copy link
Collaborator

No description provided.

@Deleplace Deleplace self-assigned this Aug 15, 2016
@Deleplace Deleplace changed the title Delete upload from GCS after 20mn Delete uploads from GCS after 20mn Aug 15, 2016
@Deleplace
Copy link
Collaborator Author

If #58 [End-to-end encryption] ever gets implemented, then there is no more security/confidentiality problem in storing uploads for a long time, only a raising storage cost problem.

@Deleplace
Copy link
Collaborator Author

#32 [avoiding re-upload of known file using a hash] implies to not delete a file that has been re-sent recently by a mobile source.

See func findByHash in uploadurl.go.

@Deleplace
Copy link
Collaborator Author

Also, think of removing Memcache entry objectName_for_0123456789abcdef when removing the file having hash 0123456789abcdef.

@Deleplace
Copy link
Collaborator Author

Croned in term VM.
Currently only items older than 12h are removed, so this removal doesn't mess with hash cache optimization.

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

No branches or pull requests

1 participant