Commit Graph

4930 Commits

Author SHA1 Message Date
Kyle Havlovitz c0dd5b65b6 Add retry with backoff to initial bootstrap checks (#2561) 2016-12-01 17:05:02 -05:00
Kyle Havlovitz ead30ca62b Fix race issue in monitor endpoint test 2016-12-01 13:40:00 -05:00
James Phillips 98adcfb17d Merge pull request #2556 from williamlord/master
Update snapshot.html.markdown for spelling mistake
2016-12-01 07:44:06 -08:00
James Phillips 7690d80378 Update CHANGELOG.md 2016-12-01 07:43:10 -08:00
James Phillips 0282dd908a Merge pull request #2531 from alicebob/txntypes
fix KVOp types
2016-12-01 07:41:10 -08:00
Seth Vargo 9010b0e0f4
Use a random port instead of idx in testutil
The testutil server uses an atomic incrementer to generate unique port
numbers. This works great until tests are run in parallel, _across
packages_. Because each package starts at the same "offset" idx, they
collide.

One way to overcome this is to run each packages' test in isolation, but
that makes the test suite much longer as it does not maximize
parallelization. Alternatively, instead of having "predictable" ports,
we can let the OS choose a random open port automatically.

This still has a (albeit smaller) race condition in that the OS could
return an open port twice, before the server has a chance to actually
start and occupy said port. In practice, I have not been able to hit
this race condition, so it either doesn't happen or it happens far less
frequently that the existing implementation.

I'm not sure how I feel about the panic, but this is just test code, so
I'm including to say it's okay?
2016-12-01 17:24:26 +02:00
William Lord 4d1f56a287 Update snapshot.html.markdown 2016-12-01 10:11:35 +00:00
James Phillips a6bb339621 Update CHANGELOG.md 2016-11-30 21:47:33 -08:00
James Phillips 681e7d9ebf Merge pull request #2533 from mckennajones/bug2526
Fix for KV put command
2016-11-30 21:46:04 -08:00
James Phillips 8c64ef24df Update CHANGELOG.md 2016-11-30 21:44:01 -08:00
James Phillips c07bdb173b Merge pull request #2555 from hashicorp/pr-2497-slackpad
Updates Circonus library and adds support for custom display name and tags.
2016-11-30 21:42:01 -08:00
James Phillips 859dbfd72a
Changes Consul version number for new Circonus options. 2016-11-30 21:35:54 -08:00
James Phillips fad63ef748 Update CHANGELOG.md 2016-11-30 21:11:42 -08:00
James Phillips fa5dbc2597 Merge pull request #2551 from hashicorp/jbs-2541
Remove Deregister from UI for #2541
2016-11-30 21:09:13 -08:00
Kyle Havlovitz f794dea107 Update CHANGELOG.md 2016-11-30 13:40:09 -05:00
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
mckennajones 8b3ab100ef ignore sigpipe signals to fix journalctl issue #2404 2016-11-30 09:42:10 -08:00
James Phillips cbc180d3a4 Merge pull request #2552 from hashicorp/jbs-2540
Update compatibility table for #2540
2016-11-30 08:29:50 -08:00
Brian Shumate cd75445dd5
Update compatibility table for #2540 2016-11-30 11:17:52 -05:00
Brian Shumate f333392a3d
Remove Deregister from UI for #2541
- Remove Deregister button
- Remove Deregister functionality
2016-11-30 11:07:04 -05:00
James Phillips 012e09c773 Merge pull request #2547 from hashicorp/sethvargo/return_type
Return the correct type
2016-11-29 23:07:56 -08:00
mckennajones 6bc1164825 Unit test for kv_put with negative values 2016-11-29 22:29:31 -08:00
Seth Vargo f7958983e4
Return the correct type 2016-11-29 21:17:00 -05:00
James Phillips 1b67c55c3e Update CHANGELOG.md 2016-11-29 18:01:43 -08:00
Seth Vargo 7520ce2d49 Merge pull request #2544 from hashicorp/sethvargo/best_status
Add an API method for determining the best status
2016-11-29 19:07:52 -05:00
James Phillips 9aa2dedd63 Update CHANGELOG.md 2016-11-29 16:01:23 -08:00
James Phillips d079e62d57 Merge pull request #2530 from coffeehc/master
adapt to server's checker field TLSSkipVerify type
2016-11-29 16:00:21 -08:00
Seth Vargo 190249424b
Do not log 2016-11-29 18:55:34 -05:00
Seth Vargo 4179aacf11
Add an API method for determining the best status
Given a list of HealthChecks, this determines the "best" status for the
collective group. This is useful for nodes and services, which may have
multiple checks associated with them.
2016-11-29 18:41:46 -05:00
James Phillips 2dea48193c Merge pull request #2532 from jamtur01/docspass
Documentation pass
2016-11-29 15:15:04 -08:00
James Phillips 214fbbbad2 Update dns.html.markdown 2016-11-29 15:01:38 -08:00
James Phillips 35e6d30572 Merge pull request #2538 from tolitius/clojure-client
[website]: Clojure client to SDK section
2016-11-29 14:59:44 -08:00
James Phillips 916f3c85b0 Merge pull request #2543 from hashicorp/f-bench
Gets benchmarks running again and does a rough pass for 0.7.1.
2016-11-29 13:13:14 -08:00
James Phillips 13d9476a43
Gets benchmarks running again and does a rough pass for 0.7.1. 2016-11-29 13:02:26 -08:00
anatoly 53d4f0f51c [website]: Clojure client to SDK
in the "Download Consul Tools" list
2016-11-29 02:12:14 -05:00
Kyle Havlovitz f33e5aa728 Update CHANGELOG.md 2016-11-28 18:43:50 -05:00
Kyle Havlovitz 8079c49c0a Add QueryOptions to api package's monitor 2016-11-28 18:36:26 -05:00
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method 2016-11-28 18:36:26 -05:00
Kyle Havlovitz 124f907063 Add monitor http endpoint 2016-11-28 18:36:26 -05:00
mckennajones 40a8f13cd9 Simple check to differentiate between stdin flag or value that contains
a -
2016-11-27 12:55:14 -08:00
James Turnbull 8d29224d5c Fix to watch command docs 2016-11-25 13:34:08 -05:00
James Turnbull db13340633 Final dc pass 2016-11-25 13:29:55 -05:00
James Turnbull 8a145d50a3 Removed two space after period exceptions 2016-11-25 13:25:09 -05:00
James Turnbull edeb7e405a Another catch 2016-11-25 13:14:09 -05:00
James Turnbull 90a83d1329 And a handful more 2016-11-25 12:39:08 -05:00
James Turnbull 9e5184fca3 More consistency 2016-11-25 12:34:07 -05:00
James Turnbull 23a4a96ad3 Documentation pass
I was reviewing some docs and found a few issues.

1. Fixed some spelling mistakes.
2. Re-formatted some paragraphs.
3. Changed some potentially loaded language.
4. Fixed some grammar issues.
5. Tried to consistently use syntax-highlighting.
6. Fixed post-period spacing.
7. Fixed some formatting issues and inconsistency.
8. All "notes" are either proper notes or re-written.
2016-11-25 12:02:32 -05:00
Harmen 92b2369f82 fix KVOp types 2016-11-24 20:43:41 +01:00
James Phillips 4dc8bb1426
Merge branch 'master' of github.com:hashicorp/consul 2016-11-22 17:50:03 -08:00
James Phillips a5baa091c8
Runs `go fmt`. 2016-11-22 17:49:48 -08:00