consul/agent
James Phillips 45646ac3f4 Bumps default Raft protocol to version 3. (#3477)
* Changes default Raft protocol to 3.

* Changes numPeers() to report only voters.

This should have been there before, but it's more obvious that this
is incorrect now that we default the Raft protocol to 3, which puts
new servers in a read-only state while Autopilot waits for them to
become healthy.

* Fixes TestLeader_RollRaftServer.

* Fixes TestOperator_RaftRemovePeerByAddress.

* Fixes TestServer_*.

Relaxed the check for a given number of voter peers and instead do
a thorough check that all servers see each other in their Raft
configurations.

* Fixes TestACL_*.

These now just check for Raft replication to be set up, and don't
care about the number of voter peers.

* Fixes TestOperator_Raft_ListPeers.

* Fixes TestAutopilot_CleanupDeadServerPeriodic.

* Fixes TestCatalog_ListNodes_ConsistentRead_Fail.

* Fixes TestLeader_ChangeServerID and adjusts the conn pool to throw away
sockets when it sees io.EOF.

* Changes version to 1.0.0 in the options doc.

* Makes metrics test more deterministic with autopilot metrics possible.
2017-09-25 15:27:04 -07:00
..
config New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
consul Bumps default Raft protocol to version 3. (#3477) 2017-09-25 15:27:04 -07:00
metadata Skips unique node ID check for old versions of Consul. 2017-09-05 22:57:29 -07:00
mock agent: replace docker check 2017-07-18 20:24:38 +02:00
pool Bumps default Raft protocol to version 3. (#3477) 2017-09-25 15:27:04 -07:00
router Add segment addr field to tags for LAN flood joiner 2017-08-30 11:58:29 -07:00
structs New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
systemd agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
token Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
acl.go Introduce Code Policy validation via sentinel, with a noop implementation 2017-09-25 13:44:55 -05:00
acl_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
acl_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
acl_test.go Introduce Code Policy validation via sentinel, with a noop implementation 2017-09-25 13:44:55 -05:00
agent.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
agent_endpoint.go Introduce Code Policy validation via sentinel, with a noop implementation 2017-09-25 13:44:55 -05:00
agent_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
agent_test.go Removes unused imports in agent_test.go. 2017-09-25 13:42:15 -07:00
bindata_assetfs.go Update coord display in ui to account for segments 2017-08-30 11:58:29 -07:00
blacklist.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
blacklist_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
catalog_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
catalog_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
check.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_test.go agent: replace docker check 2017-07-18 20:24:38 +02:00
config.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
coordinate_endpoint.go Adds open source side of network segments (feature is Enterprise-only). 2017-08-30 11:58:29 -07:00
coordinate_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
dns.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
dns_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
docker.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_unix.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_windows.go agent: replace docker check 2017-07-18 20:24:38 +02:00
event_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
event_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
health_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
health_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
http.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
http_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
keyring.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
keyring_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
kvs_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
kvs_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
local.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
local_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
notify.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
notify_test.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
operator_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
operator_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
prepared_query_endpoint.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
prepared_query_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
remote_exec.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
remote_exec_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
retry_join.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
retry_join_test.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
segment_stub.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
session_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
session_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
snapshot_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
status_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
testagent.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
testagent_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
translate_addr.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
txn_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
txn_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
ui_endpoint.go agent: drop status code comments 2017-08-23 22:36:23 +02:00
ui_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
user_event.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
user_event_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
util.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
util_other.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
util_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
util_windows.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
watch_handler.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00