Returns the advisory locks currently held across the cluster, for diagnosing stuck or long-held locks without database access.
The responding node reports its own locks and, when HA is enabled, fans out to the other running members; one that does not answer is reported as unreachable. The result is a best-effort snapshot, not an atomic one.
Note: This API is available only in Self-hosted instances. It requires PostgreSQL with native (advisory) locking, otherwise returns 503. Advisory locks are session-scoped, so a dead node releases its locks automatically. Background job synchronization still uses the legacy distributed_locks table, and those locks are never reported here.
Since: 7.161.x
Security: Requires a valid admin user.
To enable advisory locks, see: https://docs.jfrog.com/installation/docs/configure-artifactory-to-use-advisory-locks-in-postgresql
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Note
This REST API is available for self-managed Artifactory deployments from version 7.161.15.
401Bad Credentials - Invalid credentials
403Permission Denied - Insufficient permissions
503Service Unavailable - Native advisory locks are not active on this node
