Skip to content

Releases: iconara/etcd-rb

v1.0.0.pre1

27 Aug 15:00
Compare
Choose a tag to compare
v1.0.0.pre1 Pre-release
Pre-release

The client will automatically find the cluster leader and use it instead of the seed node. It will also fail over to other machines in the cluster when the leader fails, and will also automatically discover leader changes that occurs without the leader going down (if those can happen).

  • Client.new takes :uri instead of :host and :port.
  • Client#leader has been removed, etcd has changed the meaning of the leader resource so #leader was no longer relevant. If you want to know the leader pick the first in the list returned by #machines.
  • #machines returns a list of URIs, this reflects changes in etcd.