Commit Graph

7151 Commits

Author SHA1 Message Date
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
Since commit 9685bdcd0b, 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
James Phillips 6be97eb8bb
Merge pull request #3735 from youngjl1/master
Name correction in documentation
2017-12-11 15:26:36 -08:00
youngjl1 137d73fd9d
Name correction in documentation 2017-12-10 10:26:02 -05:00
James Phillips d12e81860f
Moves Serf helper into lib to fix import cycle in consul-enterprise. 2017-12-07 16:57:58 -08:00
James Phillips b1e45a8e89
Updates the change log. 2017-12-07 16:45:21 -08:00
James Phillips cc27aa053a
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 5065f3d82e
Turns of intent queue warnings and enables dynamic queue sizing. 2017-12-07 16:27:06 -08:00
James Phillips bcc9aea18f
Updates Serf to pull in new queue depth controls. 2017-12-06 17:06:08 -08:00
James Phillips 185f971a0b
Updates the change log. 2017-12-05 20:33:14 -08:00
James Phillips ac09b30d33
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 3e46544085
Creates a registration mechanism for snapshot and restore. 2017-11-29 18:36:53 -08:00
James Phillips f53f521072
Begins split out of snapshots from the main FSM class. 2017-11-29 18:36:53 -08:00
James Phillips c8e763667f
Creates a registration mechanism for FSM commands. 2017-11-29 18:36:53 -08:00
James Phillips 78292662d7
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 e810697e06
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 aa61159b74
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 93ff33b1be
Creates a registration mechanism for RPC endpoints. 2017-11-29 18:36:52 -08:00
James Phillips 68f100c8df
Creates HTTP endpoint registry. 2017-11-29 18:36:52 -08:00
James Phillips 679775418f
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 29367cd5ae
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 521e46ce91
Adds a registry mechanism for CLI commands. 2017-11-29 18:36:52 -08:00
James Phillips 44d824a58f
Renames "segments" to "segment" to be consistent with other files. 2017-11-29 18:36:52 -08:00
James Phillips 8bf1f57737
Renames stubs to be more consistent. 2017-11-29 18:36:52 -08:00
James Phillips a00244e77f
Gets rid of obsolete configtest exception. 2017-11-29 18:36:52 -08:00
James Phillips fe36ed6412
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 a3f9603d19
Updates the change log. 2017-11-29 10:39:13 -08:00
James Phillips 2776d0abfe
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 8abd2050fa
Sheds monotonic time info so tombstone GC bins work properly. 2017-11-29 10:34:24 -08:00
James Phillips 9f2989424e
Updated memberlist to fix negative RTT measurements.
Fixes #3704
2017-11-21 01:37:49 -08:00
James Phillips cf928f6e22
Merge pull request #3702 from issmirnov/patch-1
Fix syntax error.
2017-11-21 01:25:18 -08:00
Ivan Smirnov db1623c44f
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
James Phillips 59effe8a1a
Puts the tree into 1.0.2 dev mode. 2017-11-20 14:46:12 -08:00
James Phillips 9f8c9cf95c
Bumps website version to 1.0.1. 2017-11-20 14:19:46 -08:00
James Phillips 9564c2978b
Release v1.0.1 2017-11-20 13:58:08 -08:00
James Phillips 649cb66725
Puts the tree into 1.0.1 release mode. 2017-11-20 13:55:07 -08:00
James Phillips b4d19abb7c
Adds a version note about rolling updates. 2017-11-20 12:01:23 -08:00
James Phillips d9eca7f821
Updates the change log. 2017-11-20 08:55:18 -08:00
James Phillips da5ba26fa3
Merge pull request #3701 from hashicorp/issue-3700
Gives back the lock before writing to the expire channel.
2017-11-20 08:53:59 -08:00
James Phillips de57a9ef51
Gives back the lock before writing to the expire channel.
The lock isn't needed after we clean up the expire bin, and as seen
in #3700 we can get into a deadlock waiting to place the expire index
into the channel while holding this lock.

Fixes #3700
2017-11-19 16:24:16 -08:00
James Phillips 70f3ad5582
Merge pull request #3698 from amitsaha/fix-tag-doc
Update documentation for `tag` filter
2017-11-16 20:33:41 -08:00
Amit Saha 0f53ae9a82
Update documentation for `tag` filter 2017-11-17 14:20:30 +11:00
James Phillips 80a619a4e7
Update CHANGELOG.md 2017-11-16 11:16:22 -08:00
James Phillips 783a405d78
Release v1.0.1-rc1 2017-11-10 18:15:02 -08:00
James Phillips 66bf32b8c5
Merge pull request #3686 from hashicorp/skip-unknown
Skips files with unknown extensions when not forcing a format.
2017-11-10 18:07:37 -08:00
James Phillips 34c13925d4
Skips files with unknown extensions when not forcing a format.
Fixes #3685
2017-11-10 18:06:07 -08:00
James Phillips 7d0167d314
Puts the tree into 1.0.1-rc1 release mode. 2017-11-10 14:36:20 -08:00
James Phillips 6db9a7207e
Merge pull request #3684 from hashicorp/ignore-snap
Makes consul agent ignore co-located snapshot agent configs.
2017-11-10 13:53:37 -08:00
James Phillips a1110516da
Updates the change log.g 2017-11-10 13:52:32 -08:00
James Phillips 1e49c157c5
Adds a snapshot agent stub to the config structure.
Fixes #3678
2017-11-10 13:50:45 -08:00
James Phillips 3177c2b450
Opens up the timing on the metrics test so it's less flaky. 2017-11-10 13:03:31 -08:00