cache_lock_release
Release a distributed lock atomically by matching the fencing token. Prevents stale releases and maintains data consistency across cache instances.
Instructions
Release a previously acquired distributed lock. Uses a Lua script for atomic release – only deletes the key if the fencing token matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Lock resource identifier (same as in cache_lock_acquire) | |
| token | Yes | Fencing token returned by cache_lock_acquire | |
| instance_id | Yes | UUID of the cache instance |