consul/agent/local
Aestek 24a0f2bba2 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