Commit Graph

11 Commits

Author SHA1 Message Date
Aaron Chen 5728b670ae Fix Fault Tolerance section code example without ttl
Signed-off-by: Aaron Chen <aaron.chen@curiositychina.com>
2015-12-30 03:08:09 +08:00
Aaron Chen 3cf44b5b24 Fix leadership doc example typo
Signed-off-by: Aaron Chen <aaron.chen@curiositychina.com>
2015-12-29 19:11:35 +08:00
Alexandre Beslic 5e8998eb6d Fix Consul Lock TTL with store failure
If using the Lock TTL feature with Consul, the code
path in libkv is issuing a Put in the background through
the PeriodicRenewal call. The error is then eaten up and
ignored on the candidate loop. This would lead to the
candidate and followers being stuck in their candidate
loop. Consequence would be that they would not retry to
take the lock ending in a state with no Leader.

This patch restores an explicit error check instead of
wrongfully passing on the error to the channel before
giving it back to the caller.

Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-12-16 15:46:11 -08:00
Alexandre Beslic c7513506be Fault tolerant Leader Election process, fixes leader information on docker info, fixes intermittent error on Consul session lock
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-07-31 10:06:47 -07:00
fl0yd 168e31c096 Update README.md
Signed-off-by: Mark Oates fl0yd@me.com
Signed-off-by: Mark Oates <fl0yd@me.com>
2015-07-02 13:18:30 -05:00
Ahmet Alp Balkan 00a2988d0d Fix typo in leadership/README.md
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-06-15 11:31:34 -07:00
Alexandre Beslic 589b665f5f fix leadership doc on support for consul/etcd/zookeeper
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-06-11 16:13:12 -07:00
Ben Parnell c744a9b600 Fix small typo in leadership/README.md
Signed-off-by: Ben Parnell <benjaminparnell.94@gmail.com>
2015-05-31 23:36:40 +01:00
Andrea Luzzardi bbf57d0724 leadership: API cleanup.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-22 20:08:12 -07:00
Andrea Luzzardi a81c5436bb leadership: Fix README
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-20 13:58:27 -07:00
Andrea Luzzardi 3f01413b75 leadership: Distributed Leader Election
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-05-19 20:14:28 -07:00