From 5956e778db1cbb100628f6d3045aca8b9627a703 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Thu, 22 Feb 2018 15:57:46 -0800 Subject: [PATCH] Add a link to the leader election guide in the lock API docs --- website/source/api/kv.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/source/api/kv.html.md b/website/source/api/kv.html.md index 93473bfa8a..de470f35bd 100644 --- a/website/source/api/kv.html.md +++ b/website/source/api/kv.html.md @@ -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`