Commit Graph

3 Commits (f1fba7b5747c006f4f09cd63657865f16ba03731)

Author SHA1 Message Date
Your Name f1fba7b574 feat: re-land story local-to-cloud migration
Re-apply the story cloud-migration work on a clean staging base (it was
reverted earlier to land and verify the emoji work first).

- StoryExpire: archive expiring story media on the same explicit disk the
  media lives on (S3 move = server-side copy+delete), with error handling
- admin:StoryMoveStorageLocalToCloud: migrate local story media (active +
  story_archives) to cloud — copy, verify by size, delete local; --orphans
  relocates untracked story_archives files
- Schedule it hourly alongside the media migration when cloud storage is on
4 weeks ago
Your Name 9f55f7204c revert: story cloud-migration work
Back out the story local->cloud migration so we can land and verify the
emoji cloud work first, one change at a time.

Reverts:
- 9f110bb74 feat: migrate local story media to cloud storage
- 842681b99 fix: schedule StoryMoveStorageLocalToCloud command

Removes StoryMoveStorageLocalToCloud command, its scheduler entry, and the
StoryExpire explicit-disk changes. Remcache and emoji work are untouched.
Will revisit story once emoji is confirmed.
4 weeks ago
Your Name 9f110bb74c feat: migrate local story media to cloud storage
Ensure story media lands on and stays on cloud storage for S3 instances.

- StoryExpire: archive expiring story media on the same explicit disk the
  media lives on (S3 move is a server-side copy+delete), with error handling
- Add admin:StoryMoveStorageLocalToCloud to migrate local story media
  (active + story_archives) to cloud: copy, verify by size, then delete local
- --orphans option relocates untracked story_archives/ files to cloud using
  the same copy/verify/delete flow (media is moved, never discarded)
- Schedule it hourly alongside the media migration when cloud storage is on
4 weeks ago