docs(modules): make reasons for deprecation much more clear

release-0.4
Yicheng Qin 2014-04-18 10:36:59 -07:00
parent 5602d4a2ee
commit a2749bad53
2 changed files with 7 additions and 4 deletions

View File

@ -849,7 +849,7 @@ 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, and will be back later. See [Modules][modules] for more details.
**Warning:** This module is deprecated at v0.4. See [Modules][modules] for more details.
### Acquiring a Lock
@ -996,7 +996,7 @@ If you specify a field other than `index` or `value` then you'll receive the fol
The leader module wraps the lock module to provide a simple interface for electing a single leader in a cluster.
**Warning:** This module is deprecated at v0.4, and will be back later. See [Modules][modules] for more details.
**Warning:** This module is deprecated at v0.4. See [Modules][modules] for more details.
[modules]: https://github.com/coreos/etcd/blob/master/Documentation/modules.md

View File

@ -3,8 +3,11 @@
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.
**Warning**: Modules is deprecated from v0.4, and is expected to be added back in the near future.
For now, we are choosing to focus on raft algorithm and etcd core to make sure that it works correctly and fast. And it is time consuming to maintain these modules in this period, given that etcd's API changes from time to time. Moreover, the lock module has some unfixed bugs, which may mislead users. But we also notice that these modules are popular and useful, and plan to add them back with full functionality as soon as possible.
**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.
And it is time consuming to maintain these modules in this period, given that etcd's API changes from time to time.
Moreover, the lock module has some unfixed bugs, which may mislead users.
But we also notice that these modules are popular and useful, and plan to add them back with full functionality as soon as possible.
### Dashboard