Commit Graph

5042 Commits

Author SHA1 Message Date
James Phillips 68e90d0f24
Adds a facility to notify when restores occur. 2017-01-25 09:58:22 -08:00
James Phillips 1d39ddbd4b
Adds fine-grained watches to session endpoints. 2017-01-25 09:58:22 -08:00
James Phillips 8b7977ccb3
Adds fine-grained watches to prepared query endpoints. 2017-01-25 09:58:22 -08:00
James Phillips dfcffe097c
Adds fine-grained watches to internal endpoints. 2017-01-25 09:58:22 -08:00
James Phillips 3675e5ceba
Adds fine-grained watches to coordinate endpoints. 2017-01-25 09:58:22 -08:00
James Phillips ec90404df0
Adds fine-grained watch support to ACL endpoints. 2017-01-25 09:58:22 -08:00
James Phillips eaa8fde298
Updates a comment to point to new blockingQuery function. 2017-01-25 09:58:22 -08:00
James Phillips dcb55c766b
Adds fine-grained watches to health endpoints. 2017-01-25 09:58:22 -08:00
James Phillips e4b88324b3
Fixes a race condition when updating the state store during a snapshot restore. 2017-01-25 09:58:22 -08:00
James Phillips b7b42d718a
Adds fine-grained watches to catalog endpoints. 2017-01-25 09:58:22 -08:00
James Phillips f2d9da270d
Adds diff check for node and service parts of register requests.
We always did an update before which caused excessive watch churn, even
with our new fine-grained queries. This does a diff any only updates the
node and service records if something actually changed.
2017-01-25 09:58:22 -08:00
James Phillips fefed7c803
Don't do any watch tracking for non-blocking queries. 2017-01-25 09:58:22 -08:00
James Phillips 05735e39a5
Removes some incorrect comments.
We can't actually return a fine-grained index from these tables unless
support is added for tombstones. Otherwise, the index could slip backwards
as things are deleted.
2017-01-25 09:58:22 -08:00
James Phillips b21625a6af
Adds new variant of blocking query wrapper with WatchSet support. 2017-01-25 09:58:22 -08:00
James Phillips 10f3bdf4ff
Updates go-immutable-radix and go-memdb to get fine-grained watches. 2017-01-25 09:58:22 -08:00
James Phillips 4c1a156417
Pulls in latest static asset updates. 2017-01-25 09:57:56 -08:00
Andrey Upadyshev f6c6a9ff3e Fix missing query parameters formatting in HTTP API documentation 2017-01-25 14:34:56 +01:00
Kyle Havlovitz ebced2db68 Merge pull request #2668 from hashicorp/f-prepared-query-nodemeta
Node metadata support in prepared queries
2017-01-24 12:23:22 -05:00
Kyle Havlovitz bbfd25b530
Fix test import 2017-01-23 21:34:01 -05:00
Kyle Havlovitz a55968f009
Merge branch 'master' into f-prepared-query-nodemeta 2017-01-23 20:17:48 -05:00
Kyle Havlovitz 3f3d7f9891
Add tests for node meta in prepared queries and update docs 2017-01-23 19:17:30 -05:00
Seth Vargo 748e308ac4 Say which ec2 perms to use 2017-01-20 17:13:28 -05:00
Cameron Stokes 07b91d9d20 Typo in docs/upgrade-specific page. 2017-01-19 12:28:30 -08:00
James Phillips 6a3fd08755 Merge pull request #2665 from dblackdblack/sp-givne
Fix misspelled 'givne' → 'given'
2017-01-19 09:18:23 -08:00
David Black 507e6769f8 s/givne/given/ 2017-01-19 09:16:31 -08:00
James Phillips 03fcbe935a Update CHANGELOG.md 2017-01-18 16:11:31 -08:00
James Phillips acbc2289a3 Merge pull request #2661 from hashicorp/f-node-id
Adds basic support for node IDs.
2017-01-18 16:02:38 -08:00
James Phillips 432540f918 Fixes a paste-o in the docs. 2017-01-18 16:02:04 -08:00
James Phillips bcf770f811
Uses clean replies each time so they are safe to receive map changes. 2017-01-18 15:40:19 -08:00
James Phillips 32be684fdf
Fixes a startup ordering issue between Raft and Serf.
This fixes #2663 and fixes #1899. It's not super related to this PR,
but the startup time changes that this PR brings made this a lot worse
so I was able to track it down.
2017-01-18 15:06:15 -08:00
James Phillips 6ca0173907
Adds catalog support for node IDs. 2017-01-18 14:26:42 -08:00
Kyle Havlovitz 4e8c0fca63
First pass at adding node meta filter to prepared queries 2017-01-18 16:23:33 -05:00
James Phillips e719ff8ef1
Adds a test to make sure we get the same ID on the second run. 2017-01-18 09:52:34 -08:00
James Phillips bd605e330c
Adds basic support for node IDs. 2017-01-17 22:47:59 -08:00
James Phillips 61a20c53ba Merge pull request #2660 from hashicorp/sethvargo-patch-1
Omit empty node_meta
2017-01-17 17:18:29 -08:00
Seth Vargo 624b7daba4 Omit empty node_meta 2017-01-17 20:17:20 -05:00
Kyle Havlovitz 945da0395a Update CHANGELOG.md 2017-01-17 19:24:41 -05:00
Kyle Havlovitz f48f105949
Minor formatting tweaks as a follow-up to #2654 2017-01-17 19:20:29 -05:00
Sean Chittenden d8dd39ac40 Merge pull request #2659 from hashicorp/f-update-go-sockaddr
Update `hashicorp/go-sockaddr` to account for `tun(4)` interfaces.
2017-01-17 13:06:37 -08:00
Seth Vargo f2659ce97d Merge pull request #2658 from hashicorp/sethvargo/fatal
Do not skip tests when Consul is missing
2017-01-17 15:45:32 -05:00
Sean Chittenden c91c7f7df9
Update `hashicorp/go-sockaddr` to account for `tun(4)` interfaces. 2017-01-17 12:37:56 -08:00
Seth Vargo 8bcfa9d3cc Do not skip tests when Consul is missing
This bit me on CI. The current behavior of the testutil server is to skip if consul isn't present. When lots of output is scrolling by, you're likely to miss the message that the test was skipped. Instead, I propose that we hard fatal if consul doesn't exist, and upstream consumers can skip the tests if they want.
2017-01-17 14:57:57 -05:00
James Phillips 8d57727ff0 Merge pull request #2639 from tanuck/master
Standardize the case of all check log messages
2017-01-17 09:07:45 -08:00
James Phillips 9d67b5bc7d Update CHANGELOG.md 2017-01-17 09:02:35 -08:00
James Phillips 25fb498b20 Merge pull request #2578 from ybubnov/concurrent-safe-notification-mock
Concurrent-safe notification mock
2017-01-17 09:01:43 -08:00
James Phillips 71d1466bdd Merge pull request #2656 from legal90/fix-website-raft-multiplier
website: Fix nesting for "raft_multiplier" option
2017-01-17 06:23:55 -08:00
Mikhail Zholobov 7753627b52
website: Fix nesting for "raft_multiplier" option 2017-01-17 14:59:18 +02:00
James Phillips 1380fdbb92 Merge pull request #2654 from hashicorp/f-metafilter-endpoints
Add node metadata filtering to remaining endpoints
2017-01-14 17:07:29 -08:00
Kyle Havlovitz 9e696220a8
Add support for multiple metadata filters to remaining endpoints
Enabled multiple meta filters for /v1/catalog/nodes and /v1/catalog/services
2017-01-13 20:49:13 -05:00
Kyle Havlovitz 5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints 2017-01-13 20:08:43 -05:00