Project: usergrid
Issue USERGRID-447: Fix data migration format lifecycle on initial setup
During our initial setup, we perform the following phases. # Setup keyspaces and column families # Set up the root application Admins then have to run the migration via PUT /system/migrate/run This causes an unnecessary migration from V0 to current. Instead, on our initial setup in CPSetup.java, we should perform the following. # Create keyspaces and column families # Perform the data migration, which will simply set the current max version BEFORE data is written # Write the initial root application state
Story points: 1