Commit Graph

7395 Commits

Author SHA1 Message Date
Pierre Souchay b26ea3c230 [Revert] Only update services if tags are different
This patch did give some better results, but break watches on
the services of a node.

It is possible to apply the same optimization for nodes than
to services (one index per instance), but it would complicate
further the patch.

Let's do it in another PR.
2018-02-20 23:34:42 +01:00
Pierre Souchay 903e866835 Only update services if tags are different 2018-02-20 23:08:04 +01:00
Pierre Souchay 6d6411d418 Improve travis parameters to avoid flacky tests, use -p 3 2018-02-20 02:14:58 +01:00
Pierre Souchay 42aeaa5d77 Improve travis parameters to avoid flacky tests 2018-02-20 02:07:01 +01:00
Pierre Souchay 56d5c0bf22 Enable Raft index optimization per service name on health endpoint
Had to fix unit test in order to check properly indexes.
2018-02-20 01:35:50 +01:00
Pierre Souchay 528de0ffff [Revert] Do not run tests in parallel since it breaks randomly
This is causing timeouts on Travis (more than 10min tests)
2018-02-19 23:34:57 +01:00
Pierre Souchay a849d1aa7f Do not run tests in parallel since it breaks randomly 2018-02-19 23:04:17 +01:00
Pierre Souchay ec1b278595 Get only first service to test whether we have to cleanup index of a service 2018-02-19 22:44:49 +01:00
Pierre Souchay 523feb0be4 Fixed comment about raftIndex + use test.Helper() 2018-02-19 19:30:25 +01:00
Pierre Souchay a77b36bd4b Merge remote-tracking branch 'origin/master' into fix_blocking_queries_index 2018-02-19 18:41:22 +01:00
Pierre Souchay 4c188c1d08 Services Indexes modified per service instead of using a global Index
This patch improves the watches for services on large cluster:
each service has now its own index, such watches on a specific service
are not modified by changes in the global catalog.

It should improve a lot the performance of tools such as consul-template
or libraries performing watches on very large clusters with many
services/watches.
2018-02-19 18:29:22 +01:00
Paul Banks a8dc706775
Merge pull request #3894 from hashicorp/anubhavmishra-patch-1
fix typo
2018-02-19 14:14:45 +00:00
Anubhav Mishra 1891d9a0a6
fix typo 2018-02-18 23:13:57 -08:00
Kyle Havlovitz 611b810a4b
Update CHANGELOG.md 2018-02-15 13:48:58 -08:00
Kyle Havlovitz 37343b6c5b
Merge pull request #3892 from hashicorp/coordinate-acl-fix
Fix the coordinate update endpoint not passing the ACL token
2018-02-15 13:47:40 -08:00
Kyle Havlovitz ea452c6032
Fix the coordinate update endpoint not passing the ACL token 2018-02-15 11:58:02 -08:00
Kyle Havlovitz fe26066f68
Merge pull request #3889 from arthurlogilab/patch-1
[demo/vagrant-cluster] upgrade from jessie to stretch
2018-02-14 11:06:25 -08:00
Kyle Havlovitz 80ff9d762a
Merge pull request #3888 from hashicorp/fix-doc-typos
Fix a couple of minor typos found in docs.
2018-02-13 14:21:40 -08:00
Arthur Lutz 9e84f4ac9a
[demo/vagrant-cluster] upgrade from jessie to stretch 2018-02-13 20:01:36 +01:00
Paul Banks 89ede0539f
Fix a couple of minor typos found in docs. 2018-02-13 16:21:12 +00:00
Andrei Burd dbb010c865 adding human readability for dns requests debug log (#3751) 2018-02-11 09:02:28 -06:00
Tomáš Bedřich 054b06a876 Update check script exit code explanation (#3882)
Change misleading formulation which might imply, that any non-zero code is enough to mark check as failing.
(https://www.consul.io/docs/agent/checks.html#check-scripts)
2018-02-11 08:30:40 -06:00
Kyle Havlovitz 7100161f64
Add gRPC fields to client api and agent check endpoint docs 2018-02-09 16:02:27 -08:00
Kyle Havlovitz 34cd78b3bf
Puts the tree back into dev mode 2018-02-09 10:25:58 -08:00
Preetha Appan adbd3c5b2f
Updates download version to 1.0.6 2018-02-09 12:21:18 -06:00
Preetha Appan 9dd21ee4bb
Release v1.0.6 2018-02-09 12:00:27 -06:00
Preetha Appan af43c55d1b
Puts tree in release mode for 1.0.6 2018-02-09 11:45:56 -06:00
Preetha 97680a0384
Update CHANGELOG.md 2018-02-09 11:41:35 -06:00
James Phillips 2b60c01c71
Bumps Go version back down to 1.9.3.
See #3879.
2018-02-08 19:42:53 -08:00
James Phillips 9a60baf7e0
Updates the change log. 2018-02-08 18:47:30 -08:00
James Phillips 13d2918f79
Merge pull request #3878 from hashicorp/issue-3877
Fixes a panic on TCP-based DNS lookups.
2018-02-08 18:45:54 -08:00
James Phillips 37cf6583db
Fixes a panic on TCP-based DNS lookups.
This came in via the monkey patch in #3861.

Fixes #3877
2018-02-08 17:57:41 -08:00
James Phillips 78e165acf4
Adds a basic INTERNALS.md guide with some pointers into the code. 2018-02-08 17:05:36 -08:00
Preetha 8f241b9351
Update CHANGELOG.md 2018-02-08 17:23:17 -06:00
Preetha 1665908bed
Fix panic in azure go discover provider (#3876) 2018-02-08 16:46:33 -06:00
James Phillips a33811edeb
Merge pull request #3873 from hashicorp/travis-redux
Makes Travis build a little more reliable.
2018-02-07 21:18:01 -08:00
James Phillips 9572e504d3
Bumps the standard retry up. 2018-02-07 18:03:39 -08:00
James Phillips 9b269cac14
Makes Travis build run less parallel.
This makes it run less packages in parallel as well as less parallel tests per package.
2018-02-07 17:17:00 -08:00
James Phillips de4ffb136b
Updates the change log. 2018-02-07 17:11:03 -08:00
James Phillips e3ca656bb2
Merge pull request #3872 from hashicorp/go-1.9.4
Bumps Go version to 1.9.4.
2018-02-07 17:09:57 -08:00
James Phillips 78345f7aa2
Bumps Go version to 1.9.4. 2018-02-07 17:09:48 -08:00
Preetha Appan b19861812f
Puts tree back in dev mode 2018-02-07 15:25:36 -06:00
Preetha Appan 346a58c501
Update CHANGELOG 2018-02-07 15:25:17 -06:00
Kyle Havlovitz ec92adc246
Bump download version to 1.0.5 2018-02-07 12:50:12 -08:00
Preetha Appan 3f18570fd4
Release v1.0.5 2018-02-07 14:32:42 -06:00
Preetha Appan 9251ab4333
Puts version in 1.0.5 release mode 2018-02-07 14:28:50 -06:00
Preetha Appan e0a6d9dfe9
Update CHANGELOG with release date 2018-02-07 14:28:03 -06:00
James Phillips c5235532ee
Update CHANGELOG.md 2018-02-07 10:45:40 -08:00
James Phillips 4467d22505
Updates the change log. 2018-02-07 08:08:17 -08:00
James Phillips e971152415
Merge pull request #3867 from hashicorp/churn-fix
Fixes accidental state store updates from output-side fixups.
2018-02-07 08:04:16 -08:00