Commit Graph

4335 Commits

Author SHA1 Message Date
James Phillips e2f64999ac Update CHANGELOG.md 2016-08-09 16:07:56 -07:00
James Phillips ff6d42389c Merge pull request #2222 from hashicorp/f-raft-v2
Integrates Consul with "stage one" of HashiCorp Raft library v2.
2016-08-09 16:04:48 -07:00
James Phillips bcca4d47cf Update CHANGELOG.md 2016-08-09 16:04:37 -07:00
James Phillips 549d995bf4 Merge pull request #2257 from hashicorp/f-doc-http-metrics
Adds a note about HTTP telemetry.
2016-08-09 16:04:06 -07:00
James Phillips ff64833b4a Adds a note about HTTP telemetry. 2016-08-09 16:03:59 -07:00
James Phillips 133932e2e6 Merge pull request #2256 from hashicorp/f-http-metrics
Installs a wrapper around HTTP endpoints that generate metrics.
2016-08-09 15:59:20 -07:00
James Phillips f00e49112a
Installs a wrapper around HTTP endpoints that generate metrics. 2016-08-09 15:41:15 -07:00
James Phillips cce38f9a4b
Moves the peers.info content down into a constant. 2016-08-09 11:56:39 -07:00
James Phillips 7aaa4bc913
Adds peers back into bootstrap log, makes initial case consistent. 2016-08-09 11:52:41 -07:00
James Phillips caadfe2802 Update CHANGELOG.md 2016-08-09 11:43:57 -07:00
James Phillips 3585b5a4cb Merge pull request #2237 from hashicorp/f-acl-replication
Adds ACL replication.
2016-08-09 11:42:16 -07:00
James Phillips 7f58b05dfe
Tweaks select style. 2016-08-09 11:33:42 -07:00
James Phillips 544169999c
Adds I/O-sensitive metrics to ACL replication operations. 2016-08-09 11:32:12 -07:00
James Phillips 820509760d
Switches to a smooth rate limit vs. a bursty one. 2016-08-09 11:29:12 -07:00
James Phillips 129e327bc9
Clarifies replication index shown in the log message. 2016-08-09 11:10:32 -07:00
James Phillips 4203612bd7
Returns from the shutdown wait right away. 2016-08-09 11:09:48 -07:00
James Phillips e03fbef6b3
Moves ACL ID sorting interface onto the iterator. 2016-08-09 11:08:26 -07:00
James Phillips 0fa059ec49
Switches all ACL caches to 2Q. 2016-08-09 11:00:22 -07:00
James Phillips 80d4d231eb Removes brew info callout. 2016-08-09 08:18:15 -07:00
James Phillips f27aec6df0 Merge pull request #2104 from jpartain89/patch-1
Update install.html.markdown OS X Instructions
2016-08-09 08:12:05 -07:00
James Phillips 1e75fa0362
Moves ACL ID generation down into the endpoint.
We don't want ACL replication to have this behavior so it was a
little dangerous to have in the shared helper function.
2016-08-09 00:11:00 -07:00
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