Commit graph

512 commits

Author SHA1 Message Date
James Phillips 92ff57537c Update CHANGELOG.md 2017-09-27 15:38:52 -07:00
James Phillips d8d4d300c3 Update CHANGELOG.md 2017-09-27 15:35:35 -07:00
James Phillips 7dc906cb59 Update CHANGELOG.md 2017-09-26 20:50:38 -07:00
James Phillips 949081d323 Update CHANGELOG.md 2017-09-26 17:52:47 -07:00
Frank Schröder 707f8e329a Metrics service prefix (#3498)
* metrics: replace statsite_prefix with service_prefix

The metrics prefix isn't statsite specific and is in fact used
for all metrics providers. Since we are deprecating fields
anyway we should fix this one as well.

Fixes #3293

* Updates docs and sorts telemetry section.

* Renames to "metrics_prefix" to disambiguate with Consul services.

* Updates the change log.
2017-09-26 17:49:55 -07:00
James Phillips e9842e178a Update CHANGELOG.md 2017-09-26 15:24:36 -07:00
Kyle Havlovitz 2255dbc39b Update CHANGELOG.md 2017-09-26 13:49:07 -07:00
Preetha Appan 6bf4f28399 Update CHANGELOG.md 2017-09-26 11:59:11 -05:00
James Phillips 3a4241e59e Update CHANGELOG.md 2017-09-25 23:45:23 -07:00
James Phillips 180c52eab9 Update CHANGELOG.md 2017-09-25 23:44:42 -07:00
James Phillips 82925683b0 Update CHANGELOG.md 2017-09-25 23:44:11 -07:00
James Phillips a2336f4649 Update CHANGELOG.md 2017-09-25 23:12:20 -07:00
James Phillips d8d1e2a394 Update CHANGELOG.md 2017-09-25 23:12:03 -07:00
Frank Schröder c7cc62ab5a agent: consolidate handling of 405 Method Not Allowed (#3405)
* agent: consolidate http method not allowed checks

This patch uses the error handling of the http handlers to handle HTTP
method not allowed errors across all available endpoints. It also adds a
test for testing whether the endpoints respond with the correct status
code.

* agent: do not panic on metrics tests

* agent: drop other tests for MethodNotAllowed

* agent: align /agent/join with reality

/agent/join uses PUT instead of GET as documented.

* agent: align /agent/check/{fail,warn,pass} with reality

/agent/check/{fail,warn,pass} uses PUT instead of GET as documented.

* fix some tests

* Drop more tests for method not allowed

* Align TestAgent_RegisterService_InvalidAddress with reality

* Changes API client join to use PUT instead of GET.

* Fixes agent endpoint verbs and removes obsolete tests.

* Updates the change log.
2017-09-25 23:11:19 -07:00
James Phillips fcaa889116 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
James Phillips 687da35244
Tweaks some versions around 1.0.0. 2017-09-25 13:47:45 -07:00
Frank Schroeder 8b517841ae
Update CHANGELOG 2017-09-25 03:19:05 +02:00
James Phillips f51b8d291b
Puts tree in 0.9.4 dev mode. 2017-09-08 11:13:20 -07:00
James Phillips 9a4ed967c1
Puts the tree in 0.9.3 release mode. 2017-09-08 09:34:55 -07:00
James Phillips e0f1e18aa1 Update CHANGELOG.md 2017-09-06 22:40:03 -07:00
preetapan 69bebb2a99 Fixed typo in CHANGELOG.md 2017-09-06 17:12:36 -05:00
James Phillips 1b2d1720ed Update CHANGELOG.md 2017-09-06 13:39:33 -07:00
James Phillips 676a34efbd Update CHANGELOG.md 2017-09-06 07:38:16 -07:00
James Phillips 2bd064cbf5 Update CHANGELOG.md 2017-09-01 15:18:14 -07:00
James Phillips f07b244d71 Update CHANGELOG.md 2017-09-01 15:17:35 -07:00
Kyle Havlovitz d6b34aded0 Update CHANGELOG.md 2017-09-01 12:44:08 -07:00
James Phillips 2f846f4be8 Update CHANGELOG.md 2017-09-01 11:12:43 -07:00
James Phillips 669eb9eb4c Update CHANGELOG.md 2017-09-01 11:10:08 -07:00
Preetha Appan 0728a04dbb Wire server provider for raft layer only on protocol version 3 and above, and update changelog 2017-08-30 14:36:47 -05:00
James Phillips 230f1b2333
Updates the change log. 2017-08-29 15:33:48 -07:00
James Phillips 520dbd1838 Update CHANGELOG.md 2017-08-25 00:14:44 -07:00
Preetha Appan 9419990855 Updating CHANGELOG 2017-08-24 16:50:22 -05:00
James Phillips c558067783 Update CHANGELOG.md 2017-08-23 14:37:39 -07:00
Frank Schroeder 4dea401e8f
Update CHANGELOG.md 2017-08-23 22:40:43 +02:00
James Phillips 828dec4df6 Update CHANGELOG.md 2017-08-21 15:31:40 -07:00
James Phillips 586dc3c7f4 Update CHANGELOG.md 2017-08-21 15:31:24 -07:00
Preetha Appan e1181e3dac Update CHANGELOG.md 2017-08-18 11:22:35 -05:00
Preetha Appan 9419cecb1d Update CHANGELOG.md 2017-08-16 09:39:10 -05:00
James Phillips 738ac55d96
Switches to using a read lock for the agent's RPC dispatcher.
This prevents RPC calls from getting serialized in this spot.

Fixes #3376
2017-08-09 18:51:55 -07:00
James Phillips b967ff2fbb
Puts tree in 0.9.3 dev mode. 2017-08-09 18:33:57 -07:00
James Phillips a92a236be3 Update CHANGELOG.md 2017-08-09 16:19:36 -07:00
James Phillips 075013e700 Update CHANGELOG.md 2017-08-09 15:30:52 -07:00
James Phillips 0f0304f464
Puts tree into 0.9.2 dev mode. 2017-08-08 23:22:19 -07:00
James Phillips 02c719ed20
Puts the tree into 0.9.1 release mode. 2017-08-08 21:53:28 -07:00
James Phillips 859f7cba0c Update CHANGELOG.md 2017-08-08 16:28:03 -07:00
Kyle Havlovitz bc05457fd9 Update CHANGELOG.md 2017-08-08 14:01:51 -07:00
Kyle Havlovitz 991e910002 Update CHANGELOG.md 2017-08-08 14:01:33 -07:00
Preetha Appan 4a9eff6298 Update CHANGELOG.md 2017-08-08 09:54:45 -05:00
James Phillips 6d685e593f Update CHANGELOG.md 2017-08-07 16:37:56 -07:00
Preetha Appan 32ae6c814e Updated CHANGELOG.md 2017-08-04 10:44:36 -05:00