mix ess.migrate_cas (ex_storage_service v0.6.3)

Copy Markdown View Source

Moves all content files referenced by object metadata from the legacy bucket-local layout into the global CAS. Run with the service stopped or in maintenance mode:

mix ess.migrate_cas

Idempotent. Prints a report; metadata entries whose content is missing in both layouts are listed for manual repair. Legacy duplicate files (dedup hits) are left in place — delete the legacy layout only after verifying the report (PRD §19.3).