open-consul/website/content/docs
Dan Bond 6bb7782745
agent: prevent very old servers re-joining a cluster with stale data (#17171)
* agent: configure server lastseen timestamp

Signed-off-by: Dan Bond <danbond@protonmail.com>

* use correct config

Signed-off-by: Dan Bond <danbond@protonmail.com>

* add comments

Signed-off-by: Dan Bond <danbond@protonmail.com>

* use default age in test golden data

Signed-off-by: Dan Bond <danbond@protonmail.com>

* add changelog

Signed-off-by: Dan Bond <danbond@protonmail.com>

* fix runtime test

Signed-off-by: Dan Bond <danbond@protonmail.com>

* agent: add server_metadata

Signed-off-by: Dan Bond <danbond@protonmail.com>

* update comments

Signed-off-by: Dan Bond <danbond@protonmail.com>

* correctly check if metadata file does not exist

Signed-off-by: Dan Bond <danbond@protonmail.com>

* follow instructions for adding new config

Signed-off-by: Dan Bond <danbond@protonmail.com>

* add comments

Signed-off-by: Dan Bond <danbond@protonmail.com>

* update comments

Signed-off-by: Dan Bond <danbond@protonmail.com>

* Update agent/agent.go

Co-authored-by: Dan Upton <daniel@floppy.co>

* agent/config: add validation for duration with min

Signed-off-by: Dan Bond <danbond@protonmail.com>

* docs: add new server_rejoin_age_max config definition

Signed-off-by: Dan Bond <danbond@protonmail.com>

* agent: add unit test for checking server last seen

Signed-off-by: Dan Bond <danbond@protonmail.com>

* agent: log continually for 60s before erroring

Signed-off-by: Dan Bond <danbond@protonmail.com>

* pr comments

Signed-off-by: Dan Bond <danbond@protonmail.com>

* remove unneeded todo

* agent: fix error message

Signed-off-by: Dan Bond <danbond@protonmail.com>

---------

Signed-off-by: Dan Bond <danbond@protonmail.com>
Co-authored-by: Dan Upton <daniel@floppy.co>
2023-05-15 04:05:47 -07:00
..
agent agent: prevent very old servers re-joining a cluster with stale data (#17171) 2023-05-15 04:05:47 -07:00
api-gateway
architecture docs: update names in references to renamed tutorials (#17261) 2023-05-15 10:59:30 +03:00
concepts
connect docs: update names in references to renamed tutorials (#17261) 2023-05-15 10:59:30 +03:00
consul-vs-other
dynamic-app-config
ecs docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
enterprise docs: fixup note about node scope for admin partitions (#17147) 2023-04-26 13:46:22 -04:00
guides docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
install docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
integrate docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
internals
intro
k8s docs: connect-service-upstreams annotation fixes (#17312) 2023-05-12 22:07:29 +00:00
lambda docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
nia docs: update names in references to renamed tutorials (#17261) 2023-05-15 10:59:30 +03:00
release-notes docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
security docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
services docs: consistently name Consul service mesh (#17222) 2023-05-05 13:41:40 -04:00
troubleshoot fixed bad link (#17009) 2023-04-14 13:51:56 -07:00
upgrading docs: update names in references to renamed tutorials (#17261) 2023-05-15 10:59:30 +03:00
index.mdx