Homec4science

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

Authored by epriestley <git@epriestley.com> on May 25 2014, 18:54.

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

Committed
epriestley <git@epriestley.com>Jun 4 2014, 03:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0aa913805d14: Add an alternate "modern" hunk datastore
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5b1262c98b8f: Add a `bin/hunks` script to manage migrations of hunk data (authored by epriestley <git@epriestley.com>).Jun 4 2014, 03:01