James Phillips
5efd35c590
Clarifies replication index shown in the log message.
2016-08-09 11:10:32 -07:00
James Phillips
a771b34de6
Returns from the shutdown wait right away.
2016-08-09 11:09:48 -07:00
James Phillips
17537a0f10
Moves ACL ID sorting interface onto the iterator.
2016-08-09 11:08:26 -07:00
James Phillips
ae1cd5b47d
Switches all ACL caches to 2Q.
2016-08-09 11:00:22 -07:00
James Phillips
3bcc819312
Removes brew info callout.
2016-08-09 08:18:15 -07:00
James Phillips
fd0a66740f
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
04fc5c8a45
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
ba1deb5ae9
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
379eb5ecd0
Tweaks recovery based on interface changes.
2016-08-08 19:19:18 -07:00
James Phillips
1b633e66c5
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
aa4e9daf12
Touches up Raft integration after latest changes.
2016-08-08 19:19:18 -07:00
James Phillips
014649abb1
Formats log messages to be consistent.
2016-08-08 19:19:18 -07:00
James Phillips
eabf67a431
Adds more comments about the raftSafeFn.
2016-08-08 19:19:18 -07:00
James Phillips
e3a01d9b7f
Clarifies a comment about no-op peer operations.
2016-08-08 19:19:18 -07:00
James Phillips
87c15d414d
Adds back "safing" the configuration when a server leaves.
2016-08-08 19:19:18 -07:00
James Phillips
b32578ccab
Integrates Consul with new version of Raft library.
2016-08-08 19:19:17 -07:00
James Phillips
cc1f709333
Vendors first stage branch of the v2 Raft library.
2016-08-08 19:19:17 -07:00
James Phillips
52e11b9803
Update CHANGELOG.md
2016-08-08 19:03:20 -07:00
James Phillips
9803c03461
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
8ec559a235
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
f46957ad2e
Merge pull request #2252 from hashicorp/f-govendor
...
Switches over to govendor.
2016-08-08 18:54:59 -07:00
James Phillips
4882d94c7a
Switches over to govendor.
2016-08-08 18:53:35 -07:00
James Phillips
3a21d4b48d
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
f23786cd5a
Fixes JS exception when there are no coordinates present.
2016-08-08 17:38:22 -07:00
James Phillips
161c7b993c
Merge pull request #2249 from hashicorp/sethvargo/link
...
Update links to serf
2016-08-08 09:50:34 -07:00
Seth Vargo
c77436ce9b
Update links to serf
2016-08-08 12:44:27 -04:00
atomicpirate
5a77daac60
Minor fix: "lookup up" -> "looking up"
2016-08-05 10:18:13 -04:00
James Phillips
c499c4e7d3
Updates documentation for ACL replication.
2016-08-05 00:23:28 -07:00
James Phillips
d29af2ddc7
Adds an ACL replication status endpoint.
2016-08-04 23:30:16 -07:00
James Phillips
734cc0b3d5
Increases the ACL cache size to 10k.
2016-08-04 18:03:07 -07:00
James Phillips
c54269882b
Adds a full integrated test for ACL replication.
2016-08-04 17:59:08 -07:00
James Phillips
0a9060bb84
Adds remaining core replication tests.
2016-08-04 16:33:40 -07:00
James Phillips
f44bc7e97a
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
4d738728d7
Update upgrade-specific.html.markdown
2016-08-04 06:39:50 -07:00
Johanan Lieberman
649326c776
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
096d5ff3bb
Adds tests for the ACL reconcile algorithm.
2016-08-03 21:24:09 -07:00
James Phillips
e831727923
Activates fallback to replicated ACLs.
2016-08-03 21:24:09 -07:00
James Phillips
18b817b575
Hides the acl_replication_token from JSON output, like in /v1/agent/self.
2016-08-03 21:24:09 -07:00
James Phillips
d336bdd7b0
Adds basic ACL replication plumbing.
2016-08-03 21:24:04 -07:00
Tim Kersten
24272b27a3
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
Cameron Davison
d138752249
atomic write service state and checks files, fixes #1221
2016-08-03 10:34:12 -05:00
rob dux
376a0cbf6f
update ca tutorial to one more recent and relevant
2016-08-02 21:24:02 -05:00
James Phillips
6a30762965
Update CHANGELOG.md
2016-08-02 14:03:45 -07:00
James Phillips
c2cbbdec3e
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
f1a67836d8
Use header to send Consul token rather than query param.
2016-08-02 16:54:59 -04:00
James Phillips
59d9623ea5
Merge pull request #2229 from hashicorp/sethvargo/archdiag
...
Update arch diagram
2016-08-02 07:21:56 -07:00
Seth Vargo
31d427f925
Update arch diagram
2016-08-02 13:13:43 +05:30
James Phillips
d65bd65ee5
Merge pull request #2228 from burdandrei/patch-1
...
Added missing comma
2016-08-01 10:01:48 -07:00
Andrei Burd
094d7cb9e0
Added missing comma
2016-08-01 18:46:43 +03:00
Abhinav Dahiya
7c6c3b38bc
Fixes #1775 ; Removes 'unknown' state
...
Signed-off-by: Abhinav Dahiya <abhinavdtu2012@gmail.com>
2016-07-30 19:33:14 +05:30