tibasMetaspace_RollbackTransaction()

Rolls back all of the space operations invoked since the tibasMetaspace_BeginTransaction() function or the tibasMetaspace_AcquireContext() function was called.

Declaration

tibas_status tibasMetaspace_RollbackTransaction
(tibasMetaspace   metaspace)

Parameters

Parameter Description
metaspace Specifies the metaspace in which the transaction was started.

Remarks

Use the tibasMetaspace_RollbackTransaction() function to roll back the space operations that were accumulated in a transaction since the tibasMetaspace_BeginTransaction() function or the tibasMetaspace_AcquireContext() function) was called.

You can use this function to roll back the operations that you committed, in the event that any of the transactions fail. After the transactions are rolled back, any changes made to the data grid are discarded.