Commit Graph

501 Commits

Author SHA1 Message Date
James Phillips fd1bc151eb Update CHANGELOG.md 2017-09-25 23:12:20 -07:00
James Phillips 2d87f651cb Update CHANGELOG.md 2017-09-25 23:12:03 -07:00
Frank Schröder 1e461110e6 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 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
James Phillips 8bc8c25cfb
Tweaks some versions around 1.0.0. 2017-09-25 13:47:45 -07:00
Frank Schroeder caed0ca3c7
Update CHANGELOG 2017-09-25 03:19:05 +02:00
James Phillips cc710aed39
Puts tree in 0.9.4 dev mode. 2017-09-08 11:13:20 -07:00
James Phillips 4c2e13e0df
Puts the tree in 0.9.3 release mode. 2017-09-08 09:34:55 -07:00
James Phillips 2f11c0deaf Update CHANGELOG.md 2017-09-06 22:40:03 -07:00
preetapan c283dc4202 Fixed typo in CHANGELOG.md 2017-09-06 17:12:36 -05:00
James Phillips 79bae51e27 Update CHANGELOG.md 2017-09-06 13:39:33 -07:00
James Phillips 39b3d03f19 Update CHANGELOG.md 2017-09-06 07:38:16 -07:00
James Phillips a0fca3dae7 Update CHANGELOG.md 2017-09-01 15:18:14 -07:00
James Phillips bd1f1fbbbb Update CHANGELOG.md 2017-09-01 15:17:35 -07:00
Kyle Havlovitz 5b2edf4a4d Update CHANGELOG.md 2017-09-01 12:44:08 -07:00
James Phillips f41a3fe6c0 Update CHANGELOG.md 2017-09-01 11:12:43 -07:00
James Phillips 827b670048 Update CHANGELOG.md 2017-09-01 11:10:08 -07:00
Preetha Appan 2386214655 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 58b79d43b7
Updates the change log. 2017-08-29 15:33:48 -07:00
James Phillips cc2f734a0c Update CHANGELOG.md 2017-08-25 00:14:44 -07:00
Preetha Appan 5ca1c12005 Updating CHANGELOG 2017-08-24 16:50:22 -05:00
James Phillips 2277e69bac Update CHANGELOG.md 2017-08-23 14:37:39 -07:00
Frank Schroeder d155fc3cc1
Update CHANGELOG.md 2017-08-23 22:40:43 +02:00
James Phillips 91dfa3d31d Update CHANGELOG.md 2017-08-21 15:31:40 -07:00
James Phillips c060635b82 Update CHANGELOG.md 2017-08-21 15:31:24 -07:00
Preetha Appan 642fcd4611 Update CHANGELOG.md 2017-08-18 11:22:35 -05:00
Preetha Appan b51645739f Update CHANGELOG.md 2017-08-16 09:39:10 -05:00
James Phillips f51d56c80c
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 6194dcf36f
Puts tree in 0.9.3 dev mode. 2017-08-09 18:33:57 -07:00
James Phillips 0e82e08168 Update CHANGELOG.md 2017-08-09 16:19:36 -07:00
James Phillips d07946949d Update CHANGELOG.md 2017-08-09 15:30:52 -07:00
James Phillips d441381430
Puts tree into 0.9.2 dev mode. 2017-08-08 23:22:19 -07:00
James Phillips 90b955d65f
Puts the tree into 0.9.1 release mode. 2017-08-08 21:53:28 -07:00
James Phillips 942a54181c Update CHANGELOG.md 2017-08-08 16:28:03 -07:00
Kyle Havlovitz 34de0b9292 Update CHANGELOG.md 2017-08-08 14:01:51 -07:00
Kyle Havlovitz d489370ddf Update CHANGELOG.md 2017-08-08 14:01:33 -07:00
Preetha Appan 33ed4fa000 Update CHANGELOG.md 2017-08-08 09:54:45 -05:00
James Phillips eb8b2f5778 Update CHANGELOG.md 2017-08-07 16:37:56 -07:00
Preetha Appan 29a336eb45 Updated CHANGELOG.md 2017-08-04 10:44:36 -05:00
James Phillips 64f0a85564 Update CHANGELOG.md 2017-08-03 18:37:27 -07:00
James Phillips 296c87638b Update CHANGELOG.md 2017-08-03 18:37:12 -07:00
James Phillips 3845397880 Update CHANGELOG.md 2017-08-03 18:37:02 -07:00
James Phillips b2d2292684 Update CHANGELOG.md 2017-08-03 18:33:18 -07:00
James Phillips 4d4547be69 Update CHANGELOG.md 2017-08-03 18:32:40 -07:00
James Phillips 8f8ac4124a Update CHANGELOG.md 2017-08-03 15:44:17 -07:00
Frank Schroeder f465aa4b4f
Update CHANGELOG.md 2017-08-03 21:36:48 +02:00
James Phillips db30ff82b0 Update CHANGELOG.md 2017-08-02 17:09:01 -07:00
Miguel Prokop 6852dec3f2 agent: Fix script quoting on windows (#1875)
This patch fixes the quoting for executing scripts on windows
and splits the platform dependent code.

Fixes #1875
2017-08-02 17:01:21 +02:00
James Phillips cd43a91b86 Adds missing Oxford comma :-) 2017-08-01 08:00:56 -07:00
Frank Schroeder c17690e80b
Update CHANGELOG.md 2017-08-01 11:47:54 +02:00