facebookincubator/OnlineSchemaChange

What would happen when there is not enough space left on the server?

Closed this issue · 1 comments

will it crash ?
can it continue when we extend the disk space ?

It will bail out once the remaining disk space is lower than the specified --reserved-space and exit with NOT_ENOUGH_SPACE error.
OSC use trigger to record the DMLs that are happening on old table. If there isn't any space left, the triggers won't be able to record changes. Since it's not possible to put the trigger on hold, it makes NOT_ENOUGH_SPACE a critical and non-resumable error