Commit graph

4364 commits

Author SHA1 Message Date
James Phillips 06a510a808
Removes unsafe "recover to empty" code.
This isn't safe because it would implicitly commit all outstanding log
entries. The new Raft library already has logic to not start a vote if
the current node isn't in the configuration, so this shoudn't be needed.
2016-08-08 19:19:19 -07:00
James Phillips dd3169b395
Tweaks recovery based on interface changes. 2016-08-08 19:19:18 -07:00
James Phillips 19004e7095
Moves to a safer design where we don't ingest the initial peers.json file. 2016-08-08 19:19:18 -07:00
James Phillips 44c468995f
Touches up Raft integration after latest changes. 2016-08-08 19:19:18 -07:00
James Phillips fc25145e85
Formats log messages to be consistent. 2016-08-08 19:19:18 -07:00
James Phillips 6b157eada0
Adds more comments about the raftSafeFn. 2016-08-08 19:19:18 -07:00
James Phillips fcd8bb157a
Clarifies a comment about no-op peer operations. 2016-08-08 19:19:18 -07:00
James Phillips 2bf633f206
Adds back "safing" the configuration when a server leaves. 2016-08-08 19:19:18 -07:00
James Phillips 6c8e8271e2
Integrates Consul with new version of Raft library. 2016-08-08 19:19:17 -07:00
James Phillips 7f2346bb0f
Vendors first stage branch of the v2 Raft library. 2016-08-08 19:19:17 -07:00
James Phillips 8ae8597211 Update CHANGELOG.md 2016-08-08 19:03:20 -07:00
James Phillips c7f6343cbb Merge pull request #2253 from hashicorp/b-intent-queue
Updates Serf to pick up intent queue fix.
2016-08-08 19:00:12 -07:00
James Phillips 954c32e6ee
Updates Serf to pick up intent queue fix.
This fixes #1062 by storing intents per-node instead of in a small, fixed-
size circular buffer.
2016-08-08 18:58:44 -07:00
James Phillips 1a5b2abe79 Merge pull request #2252 from hashicorp/f-govendor
Switches over to govendor.
2016-08-08 18:54:59 -07:00
James Phillips 196e3b4b3e
Switches over to govendor. 2016-08-08 18:53:35 -07:00
James Phillips 7c0029ad7b Merge pull request #2251 from hashicorp/b-tomography-js-error
Fixes JS exception when there are no coordinates present.
2016-08-08 17:39:09 -07:00
James Phillips 2acb287690
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -07:00
James Phillips 0b5b66a4d3 Merge pull request #2249 from hashicorp/sethvargo/link
Update links to serf
2016-08-08 09:50:34 -07:00
Seth Vargo dee626c6f2
Update links to serf 2016-08-08 12:44:27 -04:00
atomicpirate d1493cd9ca Minor fix: "lookup up" -> "looking up" 2016-08-05 10:18:13 -04:00
James Phillips 5577b8ef66
Updates documentation for ACL replication. 2016-08-05 00:23:28 -07:00
James Phillips 4a931ae12e
Adds an ACL replication status endpoint. 2016-08-04 23:30:16 -07:00
James Phillips c94f1e1b83
Increases the ACL cache size to 10k. 2016-08-04 18:03:07 -07:00
James Phillips 3906517f70
Adds a full integrated test for ACL replication. 2016-08-04 17:59:08 -07:00
James Phillips f639f49cc0
Adds remaining core replication tests. 2016-08-04 16:33:40 -07:00
James Phillips defb39f8d4
Removes a TODO comment.
Decided we don't need to log anything about the token here. If the
token is not valid then the client will get an error about that, so
anything that can happen here is related to talking to the server in
the ACL datacenter, so not specific to the token.
2016-08-04 07:46:59 -07:00
James Phillips 661f36ecdf Update upgrade-specific.html.markdown 2016-08-04 06:39:50 -07:00
Johanan Lieberman a3065ff3e1 Fix string concatenation in consul.tf
Since Terraform 0.7 doesn't support the concat() function for string
concatenation, a replacement for concat() needs to be used when
joining strings.
2016-08-04 13:12:56 +00:00
James Phillips 93a7fd0561
Adds tests for the ACL reconcile algorithm. 2016-08-03 21:24:09 -07:00
James Phillips 796933b45b
Activates fallback to replicated ACLs. 2016-08-03 21:24:09 -07:00
James Phillips c4ae68010b
Hides the acl_replication_token from JSON output, like in /v1/agent/self. 2016-08-03 21:24:09 -07:00
James Phillips 9cece515c0
Adds basic ACL replication plumbing. 2016-08-03 21:24:04 -07:00
Tim Kersten d56c316f07 Update upgrading.html.markdown
The change fixes a minor bug in the document that says consul supports back to version 0 when the example output says version 1, and makes the document less ambiguous by having a different "current" protocol and earliest supported protocol.
2016-08-03 21:11:02 +01:00
rob dux 3bd9be7151 update ca tutorial to one more recent and relevant 2016-08-02 21:24:02 -05:00
James Phillips 94c14275c0 Update CHANGELOG.md 2016-08-02 14:03:45 -07:00
James Phillips 8928f64f2b Merge pull request #2233 from hashicorp/token-in-header
Use header to send Consul token rather than query param.
2016-08-02 14:01:27 -07:00
Jeff Mitchell c878aba90c Use header to send Consul token rather than query param. 2016-08-02 16:54:59 -04:00
James Phillips 611f19efd4 Merge pull request #2229 from hashicorp/sethvargo/archdiag
Update arch diagram
2016-08-02 07:21:56 -07:00
Seth Vargo 1b2586abd4
Update arch diagram 2016-08-02 13:13:43 +05:30
James Phillips 28c2890376 Merge pull request #2228 from burdandrei/patch-1
Added missing comma
2016-08-01 10:01:48 -07:00
Andrei Burd 06c0663082 Added missing comma 2016-08-01 18:46:43 +03:00
Abhinav Dahiya 9dc52449e3 Fixes #1775; Removes 'unknown' state
Signed-off-by: Abhinav Dahiya <abhinavdtu2012@gmail.com>
2016-07-30 19:33:14 +05:30
James Phillips 17acf617e8 Merge pull request #2225 from hashicorp/f-stats-note
Adds a cautionary note about the stats in the self API.
2016-07-29 13:45:42 -07:00
James Phillips 63ff6ebc2c Adds a cautionary note about the stats in the self API. 2016-07-29 13:45:25 -07:00
James Phillips cf9eeec223 Merge pull request #2224 from hashicorp/jbs-faq-ports
Network ports
2016-07-29 11:46:39 -07:00
Brian Shumate c9005797e8 Updated FAQ entry 2016-07-29 14:43:51 -04:00
Brian Shumate 05ebb9db6f Network ports.
- Added a table of protocols an ports used by Consul to FAQ.
2016-07-29 13:42:30 -04:00
James Phillips 03a62157d3 Puts tree back in dev mode. 2016-07-26 17:03:47 -07:00
James Phillips 92a30b986b
Release v0.7.0-test2 2016-07-26 16:47:23 -07:00
James Phillips 65082204a3 Preps for an internal test build v0.7.0-test2. 2016-07-26 16:46:54 -07:00