HomePhorge

Add a `bin/hunks` script to manage migrations of hunk data

Description

Add a bin/hunks script to manage migrations of hunk data

Summary:
Ref T4045. Ref T5179. While we'll eventually need to force a migration, we can let installs (particularly large installs) do an online migration for now. This moves hunks to the new storage format one at a time.

(Note that nothing writes to the new store yet, so this is the only way to populate it.)

WARNING: Installs, don't run this yet! It won't compress the data. Wait until it can also do compression.

Test Plan: Added a break; after migrating one row and moved a few rows over. Spot checked them in the database and viewed the affected diffs.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4045, T5179

Differential Revision: https://secure.phabricator.com/D9291

Details

Provenance
epriestleyAuthored on May 25 2014, 9:54 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0aa913805d14: Add an alternate "modern" hunk datastore
Branches
Unknown
Tags
Unknown

Event Timeline