Commit graph

7143 commits

Author SHA1 Message Date
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
James Phillips a928c88704
Puts the tree into 1.0.2 dev mode. 2017-11-20 14:46:12 -08:00
James Phillips 38fd65f772
Bumps website version to 1.0.1. 2017-11-20 14:19:46 -08:00
James Phillips f41955919a
Release v1.0.1 2017-11-20 13:58:08 -08:00
James Phillips 462876e521
Puts the tree into 1.0.1 release mode. 2017-11-20 13:55:07 -08:00
James Phillips 5f7b842fbb
Adds a version note about rolling updates. 2017-11-20 12:01:23 -08:00
James Phillips 3b73a2d119
Updates the change log. 2017-11-20 08:55:18 -08:00
James Phillips dbd8362a52
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 8656b7a3e9
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 f624b5090f
Merge pull request #3698 from amitsaha/fix-tag-doc
Update documentation for `tag` filter
2017-11-16 20:33:41 -08:00
Amit Saha 2a1298d043
Update documentation for tag filter 2017-11-17 14:20:30 +11:00
James Phillips 119b7a7afe
Update CHANGELOG.md 2017-11-16 11:16:22 -08:00
James Phillips eef8c15985
Release v1.0.1-rc1 2017-11-10 18:15:02 -08:00
James Phillips 8550c07967
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 ae85cc4070
Skips files with unknown extensions when not forcing a format.
Fixes #3685
2017-11-10 18:06:07 -08:00
James Phillips d52bf2dcc7
Puts the tree into 1.0.1-rc1 release mode. 2017-11-10 14:36:20 -08:00
James Phillips 582a6b703b
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 c4e6a312e6
Updates the change log.g 2017-11-10 13:52:32 -08:00
James Phillips d5bf4e9c6e
Adds a snapshot agent stub to the config structure.
Fixes #3678
2017-11-10 13:50:45 -08:00
James Phillips 66ca49962e
Opens up the timing on the metrics test so it's less flaky. 2017-11-10 13:03:31 -08:00
James Phillips 75d656a3c2
Updates the change log. 2017-11-10 12:54:43 -08:00
James Phillips d7ec5aca7c
Merge pull request #3683 from hashicorp/check-logging-redux
Cleans up check logging.
2017-11-10 12:53:18 -08:00
James Phillips 50cdff36e5
Cleans up check logging.
There were places where we still didn't have the script vs. args sorted
correctly so changed all the logging to be just based on check IDs and
also made everything uniform.

Also removed some annoying debug logging, and moved some of the large output
logging to TRACE level.

Closes #3602
2017-11-10 12:48:44 -08:00
James Phillips 16d83a9e68
Merge pull request #3682 from hashicorp/issue-3680
Moves the LAN event handler after the router is created.
2017-11-10 12:29:08 -08:00
James Phillips cb0eb97a47
Updates the change log. 2017-11-10 12:28:36 -08:00
James Phillips 8210523b1b
Moves the LAN event handler after the router is created.
Fixes #3680
2017-11-10 12:26:48 -08:00
James Phillips 0759df74e0
Updates the change log. 2017-11-10 09:45:49 -08:00
James Phillips c14a66f109
Merge pull request #3681 from hashicorp/update-memberlist
Updates memberlist to pick up https://github.com/hashicorp/memberlist/pull/69.
2017-11-10 09:32:28 -08:00