mirror of https://github.com/status-im/consul.git
Add a link to the leader election guide in the lock API docs
This commit is contained in:
parent
1e11082709
commit
5956e778db
|
@ -190,6 +190,9 @@ The table below shows this endpoint's support for
|
|||
that does not include the acquire parameter will proceed normally even if another
|
||||
session has locked the key.**
|
||||
|
||||
For an example of how to use the lock feature, see the [Leader Election Guide]
|
||||
(/docs/guides/leader-election.html).
|
||||
|
||||
- `release` `(string: "")` - Specifies to use a lock release operation. This is
|
||||
useful when paired with `?acquire=` as it allows clients to yield a lock. This
|
||||
will leave the `LockIndex` unmodified but will clear the associated `Session`
|
||||
|
|
Loading…
Reference in New Issue