tibasSpaceDef_SetLockTTL()
Sets the number of milliseconds until locks on tuples in the space are automatically cleared.
Remarks
Use the tibasSpaceDef_SetLockTTL() function to specify an optional TTL value for locks that are placed on tuples in the space.
By default, unless you specify a lock TTL, tuples remain locked until the application that locked the tuple clears the lock, a lock wait time set by an application is reached, or the application disconnects from the metaspace.
To prevent possible deadlock scenarios, you can call tibasSpaceDefSetLockTTL() to specify a lock wait time. If an application does not clear a lock that it has placed on a tuple within the specified lock TTL period, the system automatically clears the lock.
Copyright © Cloud Software Group, Inc. All rights reserved.