Armon Dadgar
795bcc57a5
Merge pull request #499 from alouche/fix_potential_race_condition_shutdown
...
Fix potential race condition on shutdown (pool.reap/server.handleConsulConn)
2014-11-26 11:39:33 -08:00
Seth Vargo
7a5b83bf24
Merge pull request #500 from d3xf/pr-minor-doc-fixes
...
Minor documentation fixes
2014-11-26 09:08:45 -05:00
Dan Frost
bd5467c593
docs: agent/watches: minor fixes
2014-11-26 13:48:33 +00:00
Dan Frost
bfd6c8aac0
docs: agent/checks: minor fixes
2014-11-26 13:42:53 +00:00
Dan Frost
f0a2fa325a
docs: agent/dns: minor fixes
2014-11-26 13:33:55 +00:00
Dan Frost
e1a0845f5a
docs: agent/basics: minor fixes
2014-11-26 13:15:41 +00:00
Dan Frost
261c69c4ff
docs: internals/security: minor fixes
2014-11-26 13:05:33 +00:00
Dan Frost
548f1a07ad
docs: internals/acl: minor fixes
2014-11-26 12:57:15 +00:00
Dan Frost
2ad884abee
docs: internals/sessions: minor fixes
2014-11-26 12:49:53 +00:00
Dan Frost
dbb365baca
docs: internals/architecture: minor fixes
2014-11-26 12:31:38 +00:00
Dan Frost
7ff0acfb65
docs: compatibility: minor fixes
2014-11-26 12:09:36 +00:00
Dan Frost
e18b3859f1
docs: intro/kv: minor fixes
2014-11-26 12:00:49 +00:00
Dan Frost
a6420171e5
docs: intro/checks: minor fixes
2014-11-26 11:55:42 +00:00
Dan Frost
0b4e99dfe5
docs: intro/join: minor fixes
2014-11-26 11:49:39 +00:00
Dan Frost
2eca9b0182
docs: intro/services: minor fixes
2014-11-26 11:42:02 +00:00
Dan Frost
7d75e92104
docs: intro/agent: minor fixes
2014-11-26 11:37:28 +00:00
Ali Abbas
818fc22c9f
* Fix race condition on read/write of shutdown bool variable of server and connection pool.
...
* In connection pool, there is no guarantee that .reap() cannot execute the same time as .Shutdown() is called. It also did not benefit to eval shutdown when a select is run on the shutdown channel.
* In server, same principle applies to handleConsulConn. Since we also have a shutdown channel, it makes more to use this than to loop on a bool variable.
2014-11-26 10:39:25 +01:00
Ryan Uber
58ba650cb0
website: Improve docs for reloading config. Fixes #407
2014-11-25 19:03:14 -08:00
Ryan Uber
1d016aadea
Merge pull request #498 from alouche/fix_sprintf_unreachable_code
...
Fix sprintf formatting and cleanup unreachable code
2014-11-25 11:18:16 -08:00
Ali Abbas
ecac719bb8
fix Sprintf formatting
2014-11-25 20:06:33 +01:00
Ali Abbas
73504a01e9
cleanup unreachable code
2014-11-25 19:54:30 +01:00
Jack Pearkes
50fb9a9472
website: load fonts over https
2014-11-25 11:02:49 -05:00
Ryan Uber
fe119a1bd2
agent: prefer config over persisted services/checks ( #497 )
2014-11-24 19:40:53 -08:00
Armon Dadgar
746c52644b
Merge pull request #497 from hashicorp/f-persist
...
Persist locally registered services and checks
2014-11-24 11:14:08 -08:00
Armon Dadgar
521414f09a
agent: Adding TODO for future optimization
2014-11-24 11:09:04 -08:00
Armon Dadgar
9b5b2bd724
Merge pull request #475 from sequenceiq/reverse-lookup
...
feature: handle PTR requests to implement dns reverse lookup
2014-11-24 11:08:16 -08:00
Armon Dadgar
61eb2da69d
Only override version pre-release if blank
2014-11-24 11:05:11 -08:00
Armon Dadgar
52f68c528f
Merge pull request #494 from epankala/version
...
Update to 'consul version' behaviour
2014-11-24 11:03:00 -08:00
Ryan Uber
1f5af52e0b
agent: pass error through when writing state files
2014-11-24 01:58:39 -08:00
Ryan Uber
ce0d27caba
agent: default restored checks to critical status
2014-11-24 01:15:18 -08:00
Ryan Uber
e3c2075a9d
agent: first pass at local service and check persistence
2014-11-24 01:10:27 -08:00
Armon Dadgar
b00ac0f2a3
Merge pull request #492 from sosedoff/comment-fix
...
Comment fix
2014-11-23 23:05:07 -08:00
Janne Paenkaelae
b733df334b
Update to 'consul version' behaviour
...
After e6b6f181728b88c2e430fc7ad71fe1f84db3418c if consul was built
with just running "go build" the GitDescribe would be empty and consul
version would be empty.
This change alters the behaviour so that if consul is build without
proper ldflags the version will be postfixed with "dev" prerelease to
indicate that it is self compiled in a wrong way.
Should someone have a bug in such a binary at least devs should easily
see from the version number that binary has not been created by
recommended means.
2014-11-23 15:42:08 +00:00
lalyos
adc5d0a522
agent: implementing reverse dns lookup for ipv4 and ipv6
2014-11-23 09:16:37 +01:00
Dan Sosedoff
6cb25cf573
Fix comment for commands map
2014-11-22 11:44:23 -06:00
Armon Dadgar
ddc49f98a5
Merge pull request #491 from BCWilsonDotCom/patch-1
...
correct the doc for obtaining formatted json
2014-11-21 13:00:13 -08:00
Brandon Wilson
22ad8172b8
correct the doc for obtaining formatted json
...
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Armon Dadgar
b58b35d659
Merge pull request #487 from amalaviy/ephemeral_keys
...
Ephemeral Nodes for via Session behavior settings.
2014-11-21 10:11:52 -08:00
Armon Dadgar
67e4f66812
Merge pull request #489 from hashicorp/h-event-watch
...
Preserve ordering of event buffer when filtering on name
2014-11-21 10:10:33 -08:00
Ryan Uber
3d4ea8142c
agent: make event buffer test non-sequential
2014-11-20 21:56:50 -08:00
Ryan Uber
3f5e0d8ec0
agent: Test event order preservation for watches
2014-11-20 20:35:52 -08:00
Ryan Uber
5badc695b8
agent: Preserve ordering of event buffer. Fixes #479
2014-11-20 19:51:08 -08:00
Atin Malaviya
d7e09d57ba
Set empty Behavior setting into SessionKeysRelease and flag error for unrecognized values
2014-11-20 19:16:07 -05:00
Atin Malaviya
3aabda02b3
Clean up tests, use switch to default session.Behavior value if unspecified, unrecognized
2014-11-20 14:29:18 -05:00
Atin Malaviya
aa0cecd04e
Ephemeral Nodes for via Session behavior settings.
...
Added a "delete" behavior for session invalidation, in addition to
the default "release" behavior. On session invalidation, the sessions
Behavior field is checked and if it is set to "delete", all nodes owned
by the session are deleted. If it is "release", then just the locks
are released as default.
2014-11-20 11:34:45 -05:00
Ryan Uber
a9c84b9d18
Merge pull request #336 from ryanuber/f-keyring
...
feature: gossip encryption key rotation
2014-11-19 23:18:44 -08:00
Ryan Uber
accf2bbb59
agent: remove unused config variable
2014-11-19 23:18:12 -08:00
Ryan Uber
4cd89a9113
Rebase against upstream
2014-11-19 16:45:49 -08:00
Ryan Uber
a675b5faae
agent: fix gossip encryption detection
2014-11-19 16:37:40 -08:00
Ryan Uber
c9118b53bf
agent: fix loading keyring on agent start
2014-11-19 16:37:40 -08:00