Sean Chittenden
ebdb72ce0a
Ensure locking of Server
's remoteConsuls
.
2016-06-20 22:59:49 -07:00
Sean Chittenden
37d642e018
Merge pull request #2128 from hashicorp/b-stable-test-portnumbers
...
Use stable, monotonically increasing port numbers for tests
2016-06-20 22:54:50 -07:00
Sean Chittenden
949829295a
Pack Port to be slightly more optimal in terms of struct memory usage.
2016-06-20 15:31:17 -07:00
Sean Chittenden
72f7a4061c
Misc comment improvements
2016-06-20 15:29:38 -07:00
Sean Chittenden
9bf6e61655
Initialize a non-empty number of Consul Datacenters. No functional change.
2016-06-20 15:26:59 -07:00
Sean Chittenden
b78c95d37e
Prefer rand.Int31n() over rand.Int31().
2016-06-20 15:26:27 -07:00
Sean Chittenden
c90fc057d4
Give log reviewers a hint as to which check is failing
2016-06-20 15:25:21 -07:00
Sean Chittenden
e81bf2a505
Fix deadlock in Consul RTT.
...
- consul/rtt.go:388: s.getDatacentersByDistance(). Acquires RLock()
- consul/rtt.go:341: sortDatacentersByDistance() RLock still held.
- consul/rtt.go:282: getDatacenterDistance() RLock still held.
- consul/rtt.go:268: getNodesForDatacenter(). Attempts to reacquire RLock(), hangs indefinitely.
2016-06-20 14:59:54 -07:00
Ryan Uber
89fe991ab7
consul: test raw PreferLocal functionality
2016-06-20 14:53:13 -07:00
Sean Chittenden
8baf0d7a95
Use stable, monotonically increasing port numbers for tests
2016-06-20 14:33:46 -07:00
Ryan Uber
89660879a0
agent: set origin during PQ execution
2016-06-20 14:24:42 -07:00
Ryan Uber
1fef85cd2e
consul: support PreferLocal in PQ's
2016-06-20 14:24:40 -07:00
James Phillips
055b6973f6
Merge pull request #2123 from hashicorp/f-key-metrics
...
Adds a key metrics section to the telemetry guide.
2016-06-18 04:01:15 +01:00
James Phillips
53f082b2af
Adds a key metrics section to the telemetry guide.
2016-06-17 18:57:42 +01:00
James Phillips
f2228f9988
Adds a link to the changelog.
2016-06-17 14:04:18 +01:00
Pawel Szymczyk
b2967ebd06
Add embedded-consul to download_tools page
2016-06-17 08:56:51 +02:00
fusiondog
b9eb3b1979
Added an and
2016-06-09 17:05:00 -07:00
James Phillips
8684a968ca
Merge pull request #2108 from sheldonkwok/patch-1
...
Update agent.html.markdown
2016-06-09 16:58:23 -07:00
Sheldon Kwok
a3788d4ede
Update agent.html.markdown
...
The documentation was not clear and I had to try with the cli to figure it out.
2016-06-09 16:48:18 -07:00
fusiondog
832eb77103
Adding more detail about best use case.
2016-06-09 14:29:54 -07:00
James Phillips
3b07b31eca
Update CHANGELOG.md
2016-06-08 19:33:24 -07:00
James Phillips
42b3d999d4
Merge pull request #2106 from hashicorp/f-update-radix
...
Updates go-immutable-radix to pull in caching fix.
2016-06-08 19:31:07 -07:00
James Phillips
bf9e334dde
Updates go-immutable-radix to pull in caching fix.
2016-06-08 19:08:31 -07:00
James Phillips
1cbdbd18d2
Update CHANGELOG.md
2016-06-08 17:29:39 -07:00
James Phillips
9fe10723d6
Merge pull request #2105 from hashicorp/f-update-serf
...
Updates serf to get health score in stats.
2016-06-08 17:20:50 -07:00
James Phillips
7e75c894b0
Updates serf to get health score in stats.
2016-06-08 17:20:12 -07:00
Justin P
6716fc496a
Update install.html.markdown OS X Instructions
...
Homebrew is phasing out the use of the homebrew-cask add-on, moving it all over to just using `brew install <app>`.
Also, if you type `brew info consul` you can see that you can even automatically install the web-ui through brew as well.
2016-06-08 06:38:23 -05:00
Sean Chittenden
4e7846314f
Merge pull request #2097 from hashicorp/f-checkid-type
...
`types` package w/ CheckID
2016-06-07 22:31:58 -07:00
James Phillips
2a70deba9a
Merge pull request #2101 from hashicorp/f-update-serf-memberlist
...
Updates to latest Serf/memberlist to get lifeguard and TCP joins over DNS.
2016-06-07 14:46:26 -07:00
James Phillips
1776316053
Updates to latest Serf/memberlist to get lifeguard and TCP joins over DNS.
2016-06-07 14:30:47 -07:00
Sean Chittenden
7482a9207d
Chase casting types.CheckID to a string into the state_store.
...
It turns out the indexer can only use strings as arguments when
creating a query. Cast `types.CheckID` to a `string` before calling
into `memdb`.
Ideally the indexer would be smart enough to do this at compile-time,
but I need to look into how to do this without reflection and the
runtime package. For the time being statically cast `types.CheckID`
to a `string` at the call sites.
2016-06-07 16:59:02 -04:00
Sean Chittenden
ff45f8c8ff
Revert "Move structs.CheckID
to a new top-level package, types
."
...
This reverts commit 2bbd52e3b44ff1b60939a8400264d534662d6d51.
2016-06-07 16:59:02 -04:00
Sean Chittenden
a4554b945c
Move structs.CheckID
to a new top-level package, types
.
...
Per discussion w/ @slackpad, move this type to its own top-level package
2016-06-07 16:59:02 -04:00
Sean Chittenden
cd68cd3868
Move structs.CheckID
to a new top-level package, types
.
...
Per discussion w/ @slackpad, move this type to its own top-level package
2016-06-07 16:59:02 -04:00
Sean Chittenden
0857e93d0b
Float a type balloon. Some strings are square pegs in round holes.
...
This experiment was brought about because of variable naming
confusion where name and checkIDs were interchanged. Gave CheckID
an Qualified Type Name and chased downstream changes.
2016-06-07 16:59:02 -04:00
James Phillips
c3d86c07bd
Merge pull request #2100 from hashicorp/f-update-web
...
Updates web assets to pull in RTT viz.
2016-06-07 09:33:30 -07:00
James Phillips
1955eadc12
Updates web assets to pull in RTT viz.
2016-06-07 09:32:44 -07:00
James Phillips
accad192e0
Merge pull request #2099 from hashicorp/f-update-serf
...
Pulls in latest Serf to get flap metric.
2016-06-07 09:23:19 -07:00
James Phillips
6ee216eace
Pulls in latest Serf to get flap metric.
2016-06-07 09:22:41 -07:00
James Phillips
fabbd13fe5
Merge pull request #2098 from hashicorp/b-scada
...
Removes stale scada client and test sections that use (now) unexported fields.
2016-06-06 19:21:14 -07:00
James Phillips
5f334d94fa
Removes stale scada client and test sections that use (now) unexported fields.
...
Fixes #2092 .
2016-06-06 19:18:31 -07:00
James Phillips
77c7763ff9
Merge pull request #2093 from hashicorp/b-certs
...
Re-ups the snake oil certs for the unit tests.
2016-06-04 12:15:05 -07:00
James Phillips
9e2b282589
Re-ups the snake oil certs for the unit tests.
...
Ref #979 for a link to the blog with the commands to use :-)
2016-06-04 12:13:56 -07:00
James Phillips
b0c9f207b3
Merge pull request #2091 from hashicorp/b-travis
...
Enables fallback git tag check to fix Travis.
2016-06-03 23:35:46 -07:00
James Phillips
54a14b70c1
Enables fallback git tag check to fix Travis.
2016-06-03 23:34:00 -07:00
James Phillips
7816158106
Merge pull request #2090 from evan2645/document-consul-lock-shell-execution
...
Document `consul lock` shell execution
2016-06-03 22:31:31 -07:00
Evan Gilman
6235467a9a
Document consul lock
shell execution
...
Consul lock executes children under a shell, which was previously
undocumented. Document it, and warn against cases where this can cause
children to leak when the lock is lost.
I have made this a dedicated section so it can easily be removed
later when we move to exec
https://github.com/hashicorp/consul/issues/1692
2016-06-03 17:01:05 -07:00
James Phillips
efec9c0aef
Merge pull request #2088 from lihz1990/master
...
add tcp in service/register
2016-06-03 08:36:49 -07:00
lihz
b862d3f044
add tcp in service/register
...
I found consul /service/register interface supprt TCP check as well.
2016-06-03 19:29:05 +08:00
Jeff Mitchell
e061d89fe9
Use upstream high-level SCADA provider
2016-06-01 18:25:39 -04:00