consul/agent
Pierre Souchay 9406ca1c95 Only send one single ACL cache refresh across network when TTL is over
It will allow the following:

 * when connectivity is limited (saturated linnks between DCs), only one
   single request to refresh an ACL will be sent to ACL master DC instead
   of statcking ACL refresh queries
 * when extend-cache is used for ACL, do not wait for result, but refresh
   the ACL asynchronously, so no delay is not impacting slave DC
 * When extend-cache is not used, keep the existing blocking mechanism,
   but only send a single refresh request.

This will fix https://github.com/hashicorp/consul/issues/3524
2018-07-01 23:50:30 +02:00
..
ae
cache Fix hot loop in cache for RPC returning zero index. 2018-06-25 12:25:37 -07:00
cache-types Get agent cache tests passing without global hit count (which is racy). 2018-06-25 12:25:37 -07:00
checks
config agent/config: parse upstreams with multiple service definitions 2018-06-28 15:13:33 -05:00
connect Remove x509 name constraints 2018-06-25 12:26:10 -07:00
consul Only send one single ACL cache refresh across network when TTL is over 2018-07-01 23:50:30 +02:00
exec
local Make tests pass and clean proxy persistence. No detached child changes yet. 2018-06-25 12:24:10 -07:00
metadata
mock
pool
proxy register TCP check for managed proxies 2018-06-25 12:25:40 -07:00
router
structs Make sure we omit the Kind value in JSON if empty 2018-06-25 12:26:10 -07:00
systemd
token
acl.go agent: verify local proxy tokens for CA leaf + tests 2018-06-14 09:42:14 -07:00
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
agent.go Merge remote-tracking branch 'connect/f-connect' 2018-06-25 19:42:51 +00:00
agent_endpoint.go register TCP check for managed proxies 2018-06-25 12:25:40 -07:00
agent_endpoint_test.go Change bind_port to an int 2018-06-30 14:18:13 +01:00
agent_test.go agent: convert the proxy bind_port to int if it is a float 2018-06-25 12:26:18 -07:00
bindata_assetfs.go Release v1.2.0 2018-06-25 19:45:20 +00:00
blacklist.go
blacklist_test.go
catalog_endpoint.go
catalog_endpoint_test.go Move default uuid test into the consul package 2018-06-27 09:21:58 -04:00
check.go
config.go
connect_ca_endpoint.go revert go changes to hide rotation config 2018-06-25 12:26:18 -07:00
connect_ca_endpoint_test.go revert go changes to hide rotation config 2018-06-25 12:26:18 -07:00
coordinate_endpoint.go
coordinate_endpoint_test.go
dns.go Merge remote-tracking branch 'connect/f-connect' 2018-06-25 19:42:51 +00:00
dns_test.go Merge remote-tracking branch 'connect/f-connect' 2018-06-25 19:42:51 +00:00
enterprise_delegate_oss.go
event_endpoint.go
event_endpoint_test.go
health_endpoint.go
health_endpoint_test.go
http.go Merge remote-tracking branch 'connect/f-connect' 2018-06-25 19:42:51 +00:00
http_oss.go agent: rename test to check 2018-06-14 09:42:18 -07:00
http_oss_test.go
http_test.go
intentions_endpoint.go agent: 400 error on invalid UUID format, api handles errors properly 2018-06-27 07:40:06 +02:00
intentions_endpoint_test.go agent: 400 error on invalid UUID format, api handles errors properly 2018-06-27 07:40:06 +02:00
keyring.go
keyring_test.go
kvs_endpoint.go
kvs_endpoint_test.go
notify.go
notify_test.go
operator_endpoint.go
operator_endpoint_test.go
prepared_query_endpoint.go agent: accept connect param for execute 2018-06-25 12:24:12 -07:00
prepared_query_endpoint_test.go agent: accept connect param for execute 2018-06-25 12:24:12 -07:00
remote_exec.go
remote_exec_test.go
retry_join.go
retry_join_test.go
session_endpoint.go
session_endpoint_test.go
snapshot_endpoint.go
snapshot_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
testagent.go Disable TestAgent proxy execution properly 2018-06-25 12:25:38 -07:00
testagent_test.go
translate_addr.go
txn_endpoint.go
txn_endpoint_test.go
ui_endpoint.go Output the service Kind in the /v1/internal/ui/services endpoint 2018-06-25 12:25:40 -07:00
ui_endpoint_test.go Output the service Kind in the /v1/internal/ui/services endpoint 2018-06-25 12:25:40 -07:00
user_event.go
user_event_test.go
util.go
util_test.go
watch_handler.go Support legacy watch.HandlerFunc type for backward compat reduces impact of change 2018-06-14 09:42:05 -07:00
watch_handler_test.go Support legacy watch.HandlerFunc type for backward compat reduces impact of change 2018-06-14 09:42:05 -07:00