MarkLogic 12 EA 1 Product Documentation
xdmp.transactionLocksxdmp.transactionLocks(
[host-id as (Number|String)],
[txn-id as (Number|String)]
) as Object
Summary
Returns all URIs currently locked for read or write by a transaction.
If the transaction is waiting to lock a URI, that URI is returned too.
Parameters |
host-id |
An optional host ID. If omitted, the local App Server host is
assumed. If a host ID is specified, then a transaction ID should
also be specified.
|
txn-id |
An optional transaction ID. If omitted, the current transaction is
assumed. If a transaction ID is specified, then a host ID should
also be specified.
|
Required Privileges
http://marklogic.com/xdmp/privileges/my-transaction-locks
http://marklogic.com/xdmp/privileges/any-transaction-locks
See Also
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.