List:Falcon Storage Engine« Previous MessageNext Message »
From:Christopher Powers Date:October 24 2008 4:24pm
Subject:Online alter behavior
View as plain text  
Hi guys,

My understanding of the online alter API is as follows:

1. check_if_supported_alter()
    - Confirm that handler can perform operation online

2. alter_table_phase1()
    - Notify handler to prepare for alter

3. alter_table_phase2()
    - Command handler to execute alter

4. alter_table_phase3()
    - Notify handler that changes are persisted, table is re-opened

If the handler returns an error in steps 2 or 3 then the server triggers 
an assertion. Is this the intended behavior?



Online alter behaviorChristopher Powers24 Oct