tibasMetaspace_RecoverSpace()

Restarts a space that is suspended. Recovers data from persistence files.

Declaration

tibas_status tibasMetaspace_RecoverSpace
(tibasMetaspace metaspace,
const char*     spaceName)

Parameters

Parameter Description
metaspace Specifies the metaspace to which the space belongs.
spaceName The space name for the space that is to be recovered.

Remarks

Use the tibasMetaspace_RecoverSpace() function to restart a space that is in the SUSPENDED state and recover data from persistence files.

This is useful if the space has lost data due to the system going down or during system maintenance.

If the specified space name is incorrect, the function returns SPACE_NAME_INVALID.