k3s/pkg/cluster
Brad Davidson 1acb25d884 Fix managed etcd cold startup deadlock issue #2249
We should ignore --token and --server if the managed database is initialized,
just like we ignore --cluster-init. If the user wants to join a new
cluster, or rejoin a cluster after --cluster-reset, they need to delete
the database. This a cleaner way to prevent deadlocking on quorum loss,
and removes the requirement that the target of the --server argument
must be online before already joined nodes can start.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-10-28 16:40:15 -07:00
..
managed Galal hussein etcd backup restore (#2154) 2020-08-28 16:57:40 -07:00
bootstrap.go Fix managed etcd cold startup deadlock issue #2249 2020-10-28 16:40:15 -07:00
cluster.go Refactor clustered DB framework 2020-06-06 16:39:41 -07:00
encrypt.go Support both http and db based bootstrap 2019-11-12 01:12:24 +00:00
etcd.go Galal hussein etcd backup restore (#2154) 2020-08-28 16:57:40 -07:00
https.go Add error logger to http server (#2242) 2020-09-14 23:14:30 +02:00
managed.go Initial Logging Output Update (#2246) 2020-10-28 16:40:15 -07:00
router.go Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
storage.go Refactor clustered DB framework 2020-06-06 16:39:41 -07:00