This command releases locks on a specified file path.
Usage
cluster release-lock --path PATH [--cluster-id ID] [--tenant-id TENANT_ID] [--recursively] [--unlock-type TYPE] [--unlock-id ID] [--lock-type TYPE]
Required Parameters
| Specifies a path to a file, relative to the default tenant or to the specified tenant (if specified). |
Options
| Specifies the cluster ID. You can verify the cluster ID by running Default: 1. |
| Specifies a non default tenant by ID. The specified file path is relative to the tenant. If not specified, the default tenant is assumed. |
| Deletes all locks on the file recursively. |
| The type of unlock operation to perform:
|
| If |
| If
|
Example
vcli: admin> cluster release-lock --path /dev/test.txt --unlock-type ALL