Files
etcd/mod
Ulexus 85301dbc4e Add mod/lock timeout.
Added timeout goroutine to stop waiting on lock after timeout
expiration.

This necessitated reworking the flow of the acquire handler.  createNode
now _only_ creates the node; it no longer waits on the lock itself.
getLockIndex (perhaps this is poorly named) extracts out the lock
checking routine so that it can be used by "get" and "watch", both.
get() was added to instantaneously attempt to acquire a lock with no
waiting.

If a lock fails to acquire, for whatever reason, an error is returned,
resulting in a code 500 to the client.
2014-03-26 10:39:48 -06:00
..
2014-03-26 10:39:48 -06:00
2014-02-01 23:44:18 -08:00

Etcd modules

etcd modules (mods) are higher order pieces of functionality that only speak to the client etcd API and are presented in the /mod HTTP path of the etcd service.

The basic idea is that etcd can ship things like dashboards, master election APIs and other helpful services that would normally have to stand up and talk to an etcd cluster directly in the binary. It is a convienence and hopefully eases complexity in deployments.