Version v3.6-DRAFT of the documentation is in DRAFT status. For the latest stable documentation, see v3.5.
LOCK acquires a distributed mutex with a given name. Once the lock is acquired, it will be held until etcdctl is terminated.
etcd
and etcdctl
lock
for distributed lock:
etcdctl --endpoints=$ENDPOINTS lock mutex1
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.