Alexandre Beslic
ac6341066d
Fix Consul Leader Election Failure on multi-server
...
This fixes an error with Consul which fails to see a new
swarm leader after a consul leader soft restart because
of session renewal and missing status update.
Signed-off-by: Alexandre Beslic <alexandre.beslic@gmail.com>
2016-04-07 12:23:47 -07:00
Victor Vieux
92b3e03220
increate timeout in 'leader election - rescheduling' test
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-03-25 15:50:28 -07:00
Victor Vieux
ffba4054dc
enable rescheduling watchdog only when primary
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-03-24 06:34:05 -07:00
Sun Hongliang
5aa339ed38
validate duration flags:--delay, --timeout,--replication-ttl
...
Signed-off-by: Sun Hongliang <allen.sun@daocloud.io>
2016-03-16 10:09:57 +08:00
Alexandre Beslic
c74cf900ef
Replace --leaderTTL flag by --replication-ttl
...
Fixes #1256
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-10-02 08:42:14 -07:00
Alexandre Beslic
ca20e4ca00
add integration test for leader election in the case of store failure
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-24 09:43:13 -07:00
Alexandre Beslic
ab8d1b489c
add support for specifying the leader election lock ttl
...
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-09-23 04:06:35 -07:00
Andrea Luzzardi
cafca42239
Integration test for leader election
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2015-07-28 18:26:52 -07:00