Commit Graph

5087 Commits (579addc1c79b04d24191f98a54a30f1d3ddcb509)

Author SHA1 Message Date
Jiří Daněk afe846a542 Update README.org 2017-01-27 18:19:47 +01:00
James Phillips ee0bc8db0b Merge pull request #2684 from hashicorp/b-early-acls
Fixes up ACL timing issues with unit tests.
2017-01-26 22:32:18 -08:00
James Phillips 585958746a
Lets the leave unit test proceed even after an EOF. 2017-01-26 22:22:18 -08:00
James Phillips dcff5137f9
Adds a little wait after we get the event we were seeking. 2017-01-26 22:15:54 -08:00
James Phillips 3967cfe833 Merge pull request #2683 from hashicorp/f-unit-test-robustify
Robustifies unit tests.
2017-01-26 17:36:40 -08:00
James Phillips 8493d239ac
Run the waited-for function before sleeping, and ramp up the sleep exponentially. 2017-01-26 17:11:16 -08:00
James Phillips 8c33ddbee2
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 1ca6c9bff3 Update CHANGELOG.md 2017-01-26 15:38:03 -08:00
James Phillips 768325ca2b Builds with Go 1.7.5 in Travis. 2017-01-26 15:03:18 -08:00
James Phillips de03535fae 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 60b3f625ac Bumps Go version up to 1.7.5. 2017-01-26 15:01:03 -08:00
James Phillips 3da73be55c Updates to Consul 0.7.3. 2017-01-26 10:16:11 -08:00
James Phillips 1f903547b5 Bumps the wait even more. 2017-01-26 09:15:29 -08:00
James Phillips 60b82c5b61 Update CHANGELOG.md 2017-01-26 09:15:05 -08:00
James Phillips c1d3666ca6 Puts tree in 0.7.4 dev mode. 2017-01-26 09:14:18 -08:00
James Phillips a90bb8f021
Release v0.7.3 2017-01-26 08:36:09 -08:00
James Phillips cfd7c22f8a
Puts the tree in 0.7.3 release mode. 2017-01-26 08:23:46 -08:00
James Phillips 2f0e4f7663 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 86368a467e Bumps the wait a little more. 2017-01-26 08:20:43 -08:00
James Phillips b4bbd2f441 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 0e6d482f99 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 f11817dcdf
Tweaks leader test now that we have new wait timing. 2017-01-25 22:12:22 -08:00
James Phillips 1618c14db7 Update CHANGELOG.md 2017-01-25 21:45:03 -08:00
James Phillips fafc270de7 Merge pull request #2678 from hashicorp/sethvargo/utilfixes
testutil updates
2017-01-25 21:36:22 -08:00
Seth Vargo e3a4b2128b
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 c0b6c7ad3e
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 ef06bbd40e Update CHANGELOG.md 2017-01-25 21:06:15 -08:00
James Phillips a7b01e51f6 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 f0f52bd5f6
Redacts AWS join credientials from /v1/agent/self output. 2017-01-25 21:01:07 -08:00
James Phillips b7f2fab534 Update CHANGELOG.md 2017-01-25 20:07:38 -08:00
James Phillips 4f56a2fd0d 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 db06c06cf0
Updates Consul to build with Go 1.7.4. 2017-01-25 20:05:04 -08:00
James Phillips 373f1a94ae 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 0c93ff1d13
Keeps the old state store state if a restore fails. 2017-01-25 19:42:34 -08:00
James Phillips c370d4ff29
Bails out of blocking queries when a state restore occurs. 2017-01-25 19:00:32 -08:00
James Phillips 77dc6fb08e Update CHANGELOG.md 2017-01-25 16:18:48 -08:00
James Phillips efb67fe08a Update CHANGELOG.md 2017-01-25 16:09:59 -08:00
James Phillips 4bd0da759f 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 01ed54723f 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 b787aa17ab
Tweaks a few comments. 2017-01-25 09:58:23 -08:00
James Phillips 75f2aa8588
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 d97c3c6c18
Guts all the old blocking query code. 2017-01-25 09:58:23 -08:00
James Phillips 7da2f513dc
Cuts KVS endpoints over to new fine-grained watch plumbing. 2017-01-25 09:58:22 -08:00
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