From fb32a999a6bb428a0bb2aeaddd2cfc70135fd23f Mon Sep 17 00:00:00 2001 From: Blake Mizerany Date: Thu, 19 Jun 2014 17:08:12 -0700 Subject: [PATCH] doc: add note about removal of leader mod --- Documentation/api.md | 4 ++-- Documentation/modules.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/api.md b/Documentation/api.md index f392c95e6d2..3b2ead450b3 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -843,13 +843,13 @@ The client is told the write was successful and the keyspace is updated. Meanwhile F2 has partitioned from the network and will have an out-of-date version of the keyspace until the partition resolves. Since F2 missed the most recent write, a client reading from F2 will have an out-of-date version of the keyspace. -## Lock Module (*Deprecated*) +## Lock Module (*Deprecated and Removed*) The lock module is used to serialize access to resources used by clients. Multiple clients can attempt to acquire a lock but only one can have it at a time. Once the lock is released, the next client waiting for the lock will receive it. -**Warning:** This module is deprecated at v0.4. See [Modules][modules] for more details. +**Warning:** This module is deprecated and removed at v0.4. See [Modules][modules] for more details. ### Acquiring a Lock diff --git a/Documentation/modules.md b/Documentation/modules.md index 6a59f8e8135..08944ce61ee 100644 --- a/Documentation/modules.md +++ b/Documentation/modules.md @@ -1,7 +1,7 @@ ## Modules etcd has a number of modules that are built on top of the core etcd API. -These modules provide things like dashboards, locks and leader election. +These modules provide things like dashboards, locks and leader election (removed). **Warning**: Modules are deprecated from v0.4 until we have a solid base we can apply them back onto. For now, we are choosing to focus on raft algorithm and core etcd to make sure that it works correctly and fast. @@ -81,7 +81,7 @@ curl -X DELETE http://127.0.0.1:4001/mod/v2/lock/customer1?value=bar ``` -### Leader Election +### Leader Election (Deprecated and Removed in 0.4) The Leader Election module wraps the Lock module to allow clients to come to consensus on a single value. This is useful when you want one server to process at a time but allow other servers to fail over.