James Phillips
0a7aa91607
Drops the unit test wait time back down and turns initial wait into blocking query.
2017-01-26 16:57:44 -08:00
James Phillips
15287dc6ea
Update CHANGELOG.md
2017-01-26 15:38:03 -08:00
James Phillips
df2f720e0e
Builds with Go 1.7.5 in Travis.
2017-01-26 15:03:18 -08:00
James Phillips
e80411d4ba
Merge pull request #2682 from hashicorp/slackpad-patch-1
...
Bumps Go version up to 1.7.5.
2017-01-26 15:01:11 -08:00
James Phillips
35df4dafe8
Bumps Go version up to 1.7.5.
2017-01-26 15:01:03 -08:00
James Phillips
2cf0c98213
Updates to Consul 0.7.3.
2017-01-26 10:16:11 -08:00
James Phillips
ccd0c8e2bf
Bumps the wait even more.
2017-01-26 09:15:29 -08:00
James Phillips
0baf35ce12
Update CHANGELOG.md
2017-01-26 09:15:05 -08:00
James Phillips
96fdfeb3c0
Puts tree in 0.7.4 dev mode.
2017-01-26 09:14:18 -08:00
James Phillips
633cf3710e
Release v0.7.3
2017-01-26 08:36:09 -08:00
James Phillips
7a75ec4dc5
Puts the tree in 0.7.3 release mode.
2017-01-26 08:23:46 -08:00
James Phillips
fcc9bb7caa
Merge pull request #2680 from hashicorp/slackpad-patch-1
...
Bumps the wait a little more.
2017-01-26 08:21:44 -08:00
James Phillips
0adee272eb
Bumps the wait a little more.
2017-01-26 08:20:43 -08:00
James Phillips
2fdcd250f2
Adds more time to WaitForResult.
...
The last change here made the time overall theoretically the same, but the overhead of running so quickly before probably meant that we were spending longer. Tests seemed marginal in Travis so doubling this to see how things go.
2017-01-26 08:04:48 -08:00
James Phillips
d2c6b46040
Merge pull request #2679 from hashicorp/b-leader-test
...
Tweaks leader test now that we have new wait timing.
2017-01-25 22:13:04 -08:00
James Phillips
84a487526b
Tweaks leader test now that we have new wait timing.
2017-01-25 22:12:22 -08:00
James Phillips
64c59999e1
Update CHANGELOG.md
2017-01-25 21:45:03 -08:00
James Phillips
7e8212489d
Merge pull request #2678 from hashicorp/sethvargo/utilfixes
...
testutil updates
2017-01-25 21:36:22 -08:00
Seth Vargo
efc1c8614b
Sleep for longer, but try less often
...
This fixes an issue where the system can quickly run out of file
descriptors because they are accumulating faster than the kernel can
release them.
2017-01-26 00:13:34 -05:00
Seth Vargo
4742adb36c
Check to see if TaggedAddresses have been populated
...
This ensures the node's anti-entropy checks have finished before
telling the client Consul is ready.
2017-01-26 00:13:03 -05:00
James Phillips
c9f368e387
Update CHANGELOG.md
2017-01-25 21:06:15 -08:00
James Phillips
eb92617454
Merge pull request #2677 from hashicorp/b-redact-aws-creds
...
Redacts AWS join credientials from /v1/agent/self output.
2017-01-25 21:02:44 -08:00
James Phillips
682d65b4bc
Redacts AWS join credientials from /v1/agent/self output.
2017-01-25 21:01:07 -08:00
James Phillips
cded0c9db7
Update CHANGELOG.md
2017-01-25 20:07:38 -08:00
James Phillips
b6ca8d2464
Merge pull request #2676 from hashicorp/f-go-1.7.4
...
Updates Consul to build with Go 1.7.4.
2017-01-25 20:05:54 -08:00
James Phillips
dc5f4eaa50
Updates Consul to build with Go 1.7.4.
2017-01-25 20:05:04 -08:00
James Phillips
c5991a5e8a
Merge pull request #2675 from hashicorp/f-fine-watch-redux
...
Cleans up state store restore behavior.
2017-01-25 19:52:21 -08:00
James Phillips
d780c49bac
Keeps the old state store state if a restore fails.
2017-01-25 19:42:34 -08:00
James Phillips
418b627f4e
Bails out of blocking queries when a state restore occurs.
2017-01-25 19:00:32 -08:00
James Phillips
de77499ff2
Update CHANGELOG.md
2017-01-25 16:18:48 -08:00
James Phillips
89bea475a2
Update CHANGELOG.md
2017-01-25 16:09:59 -08:00
James Phillips
db36ba5008
Merge pull request #2671 from hashicorp/f-fine-watch
...
Adds support for fine-grained watches in blocking queries.
2017-01-25 16:04:37 -08:00
Kyle Havlovitz
d7c05ec79c
Merge pull request #2674 from oliora/master
...
Fix missing query parameters formatting in HTTP API documentation
2017-01-25 14:07:42 -05:00
James Phillips
f286716899
Tweaks a few comments.
2017-01-25 09:58:23 -08:00
James Phillips
8fcf695fa1
Pass state store pointer into the blocking query work function.
...
Previously the blocking functions all closed over the state store from
their first query, with would not have worked properly when a restore
occurred. This makes sure they get a frest state store pointer each time,
and that pointer is synchronized with the abandon watch.
2017-01-25 09:58:23 -08:00
James Phillips
20ae4b6139
Guts all the old blocking query code.
2017-01-25 09:58:23 -08:00
James Phillips
943ca1b2d9
Cuts KVS endpoints over to new fine-grained watch plumbing.
2017-01-25 09:58:22 -08:00
James Phillips
c3a1014fbf
Adds a facility to notify when restores occur.
2017-01-25 09:58:22 -08:00
James Phillips
e59f398d80
Adds fine-grained watches to session endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
997934c94f
Adds fine-grained watches to prepared query endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
557df50be6
Adds fine-grained watches to internal endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
e1dd427cf4
Adds fine-grained watches to coordinate endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
2cbf45301e
Adds fine-grained watch support to ACL endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
09dd23e14a
Updates a comment to point to new blockingQuery function.
2017-01-25 09:58:22 -08:00
James Phillips
635afd1924
Adds fine-grained watches to health endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
a604c438a2
Fixes a race condition when updating the state store during a snapshot restore.
2017-01-25 09:58:22 -08:00
James Phillips
0891b6c74d
Adds fine-grained watches to catalog endpoints.
2017-01-25 09:58:22 -08:00
James Phillips
5afa233d28
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
40ef50c738
Don't do any watch tracking for non-blocking queries.
2017-01-25 09:58:22 -08:00
James Phillips
034d1960b6
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