featurebase/etcd
Seebs 0e1d448baa explicitly revoke lease on shutdown
If we explicitly shut a node down, we don't want everyone else
thinking it's up for the next 5 seconds. Worse, in CI, we have random
long delays (10+ seconds) with no CPU activity at all, so we have to
set the TTL longer there. Which makes any test checking for responsive
detection of a node going down take even longer. So! We revoke
leases on our way down, and this makes the tests not take so
long, and allows us to have a reasonable timeout on the test, while
having a completely unreasonable HeartbeatTTL to make CI stop
breaking randomly.
2021-06-22 09:02:25 -05:00
..
embed.go make etcd bootstrap timeout configurable 2021-06-22 09:02:25 -05:00
leasedkv.go explicitly revoke lease on shutdown 2021-06-22 09:02:25 -05:00
leasedkv_test.go switch to using a watcher to watch etcd changes 2021-04-13 12:37:07 -05:00