mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 06:55:56 +03:00
[GH-ISSUE #80] Scaled instances and the deletion problem #347
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#347
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @geek-at on GitHub (Dec 29, 2018).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/80
Now the codebase has been rewritten we can start and think about the problem with scaling pictshare: deleting content.
Imagine two Pictshare servers connected through a shared folder (ALT_FOLDER)
An image is requested frequently so both servers have a local copy and there is a copy in the shared folder.
If the user wants to delete the image, it's deleted off the server the user sent the request to and from the shared folder.
the second server never got any info about any deleted hash so they kept theirs.
Possible solutions: