cache_lock_release
Release distributed locks in Cachly MCP Server using atomic operations with fencing tokens to prevent concurrent access issues.
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 |
|---|---|---|---|
| instance_id | Yes | UUID of the cache instance | |
| key | Yes | Lock resource identifier (same as in cache_lock_acquire) | |
| token | Yes | Fencing token returned by cache_lock_acquire |