Eng Zer Jun
100839fcea
cluster: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Eng Zer Jun
5d5ad9ce65
cluster: use T.TempDir
to create temporary test directory
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Tommy Volk
9a10c80bcb
multi: move many t.Fatalf calls to require.NoError
2022-06-17 04:26:55 +00:00
Andras Banki-Horvath
8eca46f142
cluster: configurable session TTL for the leader elector
2022-03-22 14:20:36 +01:00
Dimitris Apostolou
530a2059e5
multi: Fix typos [skip ci]
2022-01-24 12:19:02 +02:00
Oliver Gugger
0b4e03f5fc
multi: add golang 1.17 compatible build tags
...
With go 1.17 a change to the build flags was implemented:
https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
The formatter now automatically adds the forward-compatible build tag
format and the linter checks for them, so we need to include them in our
code.
2021-09-29 17:31:37 -07:00
Oliver Gugger
55b3802387
cluster: fix kvdb unit test
...
It looks like #5702 was merged prematurely and broke the kvdb unit
tests.
2021-09-13 14:57:42 +02:00
Oliver Gugger
76e1223bf2
mod+kvdb: update etcd to v3.5.0
2021-07-27 13:09:59 +02:00
Andras Banki-Horvath
14c851c8fc
kvdb: move channeldb/kvdb to top level
2021-05-07 14:18:56 +02:00
Andras Banki-Horvath
c190c3d582
etcd: update etcd to 3.4.14
2021-05-04 17:33:09 +02:00
Andras Banki-Horvath
41532ce634
cluster: add etcd based leader elector and factory
2021-05-04 17:33:07 +02:00
Andras Banki-Horvath
e62dbca11a
cluster: add cluster package skeleton and LeaderElector interface
2021-05-04 17:33:07 +02:00