open-consul/agent
Frank Schroeder 217d34f66d agent: fix pending data races between localState and agent
This patch creates a local config structure for the local state
which is independent from the agent but populated from its
configuration. This avoids data races between the agent configuration
which can change during tests and concurrent go routines using the
configuraiton at the same time.
2017-07-07 09:22:34 +02:00
..
consul rpc: try shutting down leader first to avoid hang in TestLeader_LeftServer 2017-07-07 09:22:34 +02:00
mock
pool
systemd
acl.go
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
agent.go agent: clone partial consul config 2017-07-07 09:22:34 +02:00
agent_endpoint.go
agent_endpoint_test.go
agent_test.go rpc: monkey patch fix for data races for localState 2017-07-07 09:22:34 +02:00
bindata_assetfs.go
catalog_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
catalog_endpoint_test.go rpc: monkey patch fix for data races for localState 2017-07-07 09:22:34 +02:00
check.go Correctly forward Host header in healthcheck (#3203) 2017-06-29 16:26:08 -07:00
check_test.go agent: refactor: use handler for test http tls server 2017-07-07 09:22:34 +02:00
config.go Revert "agent: add allowStale option for HTTP API (#3142)" 2017-06-27 07:04:55 +02:00
config_aws.go
config_azure.go
config_azure_test.go
config_ec2_test.go
config_gce.go
config_gce_test.go
config_test.go
coordinate_endpoint.go
coordinate_endpoint_test.go
dns.go dns: fix data races in DNS compression tests 2017-07-07 09:22:34 +02:00
dns_test.go dns: fix data race in TestDNS_ServiceLookup_FilterACL 2017-07-07 09:22:34 +02:00
event_endpoint.go
event_endpoint_test.go
health_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
health_endpoint_test.go
http.go Revert "agent: add allowStale option for HTTP API (#3142)" 2017-06-27 07:04:55 +02:00
http_test.go Revert "agent: add allowStale option for HTTP API (#3142)" 2017-06-27 07:04:55 +02:00
keyring.go
keyring_test.go
kvs_endpoint.go
kvs_endpoint_test.go
local.go agent: fix pending data races between localState and agent 2017-07-07 09:22:34 +02:00
local_test.go agent: fix data race in TestAgentAntiEntropy_EnableTagOverride 2017-07-07 09:22:34 +02:00
notify.go
notify_test.go
operator_endpoint.go
operator_endpoint_test.go
prepared_query_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
prepared_query_endpoint_test.go
remote_exec.go
remote_exec_test.go
retry_join.go
session_endpoint.go
session_endpoint_test.go
snapshot_endpoint.go
snapshot_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
testagent.go dns: fix data races in DNS compression tests 2017-07-07 09:22:34 +02:00
translate_addr.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
txn_endpoint.go
txn_endpoint_test.go
ui_endpoint.go
ui_endpoint_test.go
user_event.go
user_event_test.go
util.go
util_test.go
watch_handler.go
watch_handler_test.go