Skip to content

Commit

Permalink
doc: add note about removal of leader mod
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed Jun 20, 2014
1 parent d2f5934 commit fb32a99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Documentation/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Documentation/modules.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit fb32a99

Please sign in to comment.