Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Metaspace : Metaspace Operations : tibasMetaspace_RecoverSpaceEx()

tibasMetaspace_RecoverSpaceEx()
Function
Declaration
tibas_status tibasMetaspace_RecoverSpaceEx(
tibasMetaspace       metaspace,
const char*          spaceName,
tibasRecoveryOptions recoveryOptions)
Purpose
Restarts a space that is suspended. Optionally recovers data from persistence files.
Parameters
 
The default value (TIBAS_TRUE) specifies recovery with data; if you specify TIBAS_FALSE, recovery without data is set.
Remarks
Use the tibasMetaspace_RecoverSpaceEx() function to restart a space that is in the SUSPENDED state and specify options for data recovery.
This is useful if the space has lost data due to the system going down or during system maintenance.
Unlike the tibasMetaspace_RecoverSpace() function, (tibasMetaspace_RecoverSpaceEx() specifies a recovery option. Recovery is possible if the space has been set up with persistence set to shared-all persistence.
If the specified space name is incorrect, the function returns SPACE_NAME_INVALID.
See Also
tibasMetaspace_RecoverSpace()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved