This command lists open byte range locks.
Usage
cluster list-locks --path FILE_PATH [--tenant-id TENANT_ID] [--direction prev|next]
Required Parameters
| Specifies the file path. Specify |
Options
| Specifies the tenant under which the file resides. Defaults to the default tenant. |
| Specifies pagination direction. |
Example
vcli: admin> cluster list-locks --path /open.txt +------+-------------+--------+-------+-----------+--------+--------+------+-------+-----------+-------------+---------+---------+-------------------+-----------+---------------------+ | Type | Create-Time | Caller | Owner | Exclusive | Offset | Length | Svid | State | Lock-path | Tenant-name | Open-id | Lock-id | Lock-granted-type | Client-id | Create-time-seconds | +------+-------------+--------+-------+-----------+--------+--------+------+-------+-----------+-------------+---------+---------+-------------------+-----------+---------------------+ +------+-------------+--------+-------+-----------+--------+--------+------+-------+-----------+-------------+---------+---------+-------------------+-----------+---------------------+