James Phillips
6e93640520
Updates the change log.
2017-12-13 20:56:31 -08:00
James Phillips
3dc3ba8d37
Merge pull request #3746 from hashicorp/node-meta-merge
...
Changes maps to merge vs. overwrite when processing configs.
2017-12-13 20:55:03 -08:00
Kyle Havlovitz
798aca92c5
Expose IsPotentialVoter for advanced autopilot logic
2017-12-13 17:53:51 -08:00
James Phillips
68c94a5047
Changes maps to merge vs. overwrite when processing configs.
...
Fixes #3716
2017-12-13 16:06:01 -08:00
James Phillips
b87e108633
Updates the change log.
2017-12-13 14:16:09 -08:00
James Phillips
f95c117aad
Merge pull request #3745 from hashicorp/restore-timeout
...
Removes timeout when restoring snapshots.
2017-12-13 14:14:52 -08:00
James Phillips
0f959b4fae
Removes timeout when restoring snapshots.
...
Fixes #3326
Originally I started out making this configurable, but realized it wasn't
worth the complexity. If you are restoring a snapshot, you really need to
wait until it's done, or something bad happens like losing leadership, which
will already trigger an error. Rather than have operators have to tune this
to cover whatever their snapshot size is, we just make it block here. There's
also already a bocking barrier right after the restore that hasn't been a
problem.
2017-12-13 14:10:54 -08:00
Kyle Havlovitz
a4ac148077
Merge branch 'master' into autopilot-refactor
2017-12-13 11:54:32 -08:00
James Phillips
b4265aeef1
Updates the change log.
2017-12-13 11:26:09 -08:00
James Phillips
a63bd99a34
Merge pull request #3743 from hashicorp/autopilot-config
...
Copies the autopilot settings from the runtime config.
2017-12-13 11:24:46 -08:00
Kyle Havlovitz
6c985132de
A few last autopilot adjustments
2017-12-13 11:19:17 -08:00
Kyle Havlovitz
77d92bf15c
More autopilot reorganizing
2017-12-13 10:57:37 -08:00
James Phillips
984de6e2e0
Adds TODOs referencing #3744 .
2017-12-13 10:52:06 -08:00
James Phillips
63011dd393
Copies the autopilot settings from the runtime config.
...
Fixes #3730
2017-12-13 10:32:05 -08:00
Kyle Havlovitz
f347c8a531
More refactoring to make autopilot consul-agnostic
2017-12-12 17:46:28 -08:00
Yoann Fouquet
b7ca510142
Update documentation for "serf_lan_bind" and "serf_wan_bind"
...
These was spotted in issue #3709 .
These two configuration elements were renamed "serf_lan" and "serf_wan" in commit 12216583a1
Update documentation to fit the new code.
Note that flags "-serf-lan-bind" and "-serf-wan-bind" were not renamed.
2017-12-12 13:55:19 +01:00
Yoann Fouquet
6f5aecad76
Adjust documentation for service tags of checks
...
Add some missing ServiceTags.
Replace null ServiceTags by empty list (ServiceTags cannot be null).
2017-12-12 13:39:37 +01:00
Yoann Fouquet
f4f7db0059
[Fix] Service tags not added to health checks
...
Since commit 9685bdcd0ba4b4b3adb04f9c1dd67d637ca7894e, service tags are added to the health checks.
Otherwise, when adding a service, tags are not added to its check.
In updateSyncState, we compare the checks of the local agent with the checks of the catalog.
It appears that the service tags are different (missing in one case), and so the check is synchronized.
That increase the ModifyIndex periodically when nothing changes.
Fixed it by adding serviceTags to the check.
Note that the issue appeared in version 0.8.2.
Looks related to #3259 .
2017-12-12 13:39:37 +01:00
Kyle Havlovitz
8546a1d3c6
Move autopilot to a standalone package
2017-12-11 16:45:33 -08:00
James Phillips
d91cb28c46
Merge pull request #3735 from youngjl1/master
...
Name correction in documentation
2017-12-11 15:26:36 -08:00
youngjl1
f32613892f
Name correction in documentation
2017-12-10 10:26:02 -05:00
James Phillips
32b64575d1
Moves Serf helper into lib to fix import cycle in consul-enterprise.
2017-12-07 16:57:58 -08:00
James Phillips
e432477bcc
Updates the change log.
2017-12-07 16:45:21 -08:00
James Phillips
948e08eb85
Merge pull request #3731 from hashicorp/intent-queue
...
Turns of intent queue warnings and enables dynamic queue sizing for Serf.
2017-12-07 16:42:00 -08:00
James Phillips
c16cce80bb
Turns of intent queue warnings and enables dynamic queue sizing.
2017-12-07 16:27:06 -08:00
James Phillips
3ac47e3b1c
Updates Serf to pull in new queue depth controls.
2017-12-06 17:06:08 -08:00
James Phillips
23e5dba7d8
Updates the change log.
2017-12-05 20:33:14 -08:00
Wei Wei
04531ff0fb
fix globalRPC goroutine leak
...
Signed-off-by: Wei Wei <weiwei.inf@gmail.com>
2017-12-05 11:53:30 +08:00
James Phillips
b89135fe77
Merge pull request #3720 from hashicorp/fork-friendly
...
Restructures Consul to make it easier to maintain the Consul Enterprise fork.
2017-11-30 13:56:41 -08:00
James Phillips
c4bc89a187
Creates a registration mechanism for snapshot and restore.
2017-11-29 18:36:53 -08:00
James Phillips
8571555703
Begins split out of snapshots from the main FSM class.
2017-11-29 18:36:53 -08:00
James Phillips
4eaee8e0ba
Creates a registration mechanism for FSM commands.
2017-11-29 18:36:53 -08:00
James Phillips
3e7ea1931c
Moves the FSM into its own package.
...
This will help make it clearer what happens when we add some registration
plumbing for the different operations and snapshots.
2017-11-29 18:36:53 -08:00
James Phillips
7f3783f4be
Resolves an FSM snapshot TODO.
...
This adds checks for sink write calls before we continue the refactor, which
will resolve the other TODO comment we deleted as part of this change.
2017-11-29 18:36:53 -08:00
James Phillips
5a24d37ac0
Creates a registration mechanism for schemas.
...
This also splits out the registration into the table-specific source
files.
2017-11-29 18:36:52 -08:00
James Phillips
36bb30e67a
Creates a registration mechanism for RPC endpoints.
2017-11-29 18:36:52 -08:00
James Phillips
8f802411c4
Creates HTTP endpoint registry.
2017-11-29 18:36:52 -08:00
James Phillips
8da7f0ff7e
Moves coordinate disabled logic down into endpoints.
...
Similar rationale to the previous change for ACLs.
2017-11-29 18:36:52 -08:00
James Phillips
cf30d409c9
Moves ACL disabled response logic down into endpoints.
...
This lets us make the registration of endpoints less fancy, on the
road to adding a registration mechanism.
2017-11-29 18:36:52 -08:00
James Phillips
8fb08c7ede
Adds a registry mechanism for CLI commands.
2017-11-29 18:36:52 -08:00
James Phillips
6234f0bd46
Renames "segments" to "segment" to be consistent with other files.
2017-11-29 18:36:52 -08:00
James Phillips
ba56669ea8
Renames stubs to be more consistent.
2017-11-29 18:36:52 -08:00
James Phillips
a465afe314
Gets rid of obsolete configtest exception.
2017-11-29 18:36:52 -08:00
James Phillips
82a22d57e5
Bumps freeport's block size.
...
We were seeing some rollover artifacts where something would be shut down so
a port could be re-used, but it was still being referenced by some running
thing. This gives more time before rolling over.
2017-11-29 18:33:14 -08:00
James Phillips
9e9690f0be
Updates the change log.
2017-11-29 10:39:13 -08:00
James Phillips
83095d6178
Merge pull request #3719 from hashicorp/issue-3670
...
Sheds monotonic time info so tombstone GC bins work properly.
2017-11-29 10:37:10 -08:00
James Phillips
56552095c9
Sheds monotonic time info so tombstone GC bins work properly.
2017-11-29 10:34:24 -08:00
James Phillips
68b698993f
Updated memberlist to fix negative RTT measurements.
...
Fixes #3704
2017-11-21 01:37:49 -08:00
James Phillips
68239597b5
Merge pull request #3702 from issmirnov/patch-1
...
Fix syntax error.
2017-11-21 01:25:18 -08:00
Ivan Smirnov
df3a548a6c
Fix syntax error.
...
Running consul 1.0.0, 'consul operator raft' requires 'list-peers' rather than '-list-peers'
2017-11-20 20:17:20 -08:00