open-consul/agent/local
Aestek 97bb907b69 ae: use stale requests when performing full sync (#5873)
Read requests performed during anti antropy full sync currently target
the leader only. This generates a non-negligible load on the leader when
the DC is large enough and can be offloaded to the followers following
the "eventually consistent" policy for the agent state.
We switch the AE read calls to use stale requests with a small (2s)
MaxStaleDuration value and make sure we do not read too fast after a
write.
2019-06-17 18:05:47 +02:00
..
state.go ae: use stale requests when performing full sync (#5873) 2019-06-17 18:05:47 +02:00
state_test.go Update alias checks on local add and remove 2019-04-24 12:17:06 -06:00
testing.go agent/proxy: manager and basic tests, not great coverage yet coming soon 2018-06-14 09:42:08 -07:00