Armon Dadgar
80607e593a
consul: Enforce lock-delay with delete behavior
2015-01-07 15:48:27 -08:00
Armon Dadgar
f1bbda3761
website: Document session behavior and TTL
2015-01-07 15:38:16 -08:00
Ryan Uber
8e09016aee
Ignore vim swap files
2015-01-07 15:21:01 -08:00
Armon Dadgar
401437ca1f
website: Update session API documentation
2015-01-07 15:19:27 -08:00
Ryan Uber
d97305e376
command: check LastIndex is not zero while waiting for leader
2015-01-07 15:18:00 -08:00
Armon Dadgar
1f3c1b97a2
Change version to dev
2015-01-07 14:32:28 -08:00
Armon Dadgar
74de4d60c2
Merge pull request #584 from hashicorp/f-exec-dc
...
Support "exec" in foreign datacenters
2015-01-07 14:29:02 -08:00
Armon Dadgar
7b7c1afe1b
command/exec: Use TTL for local and foreign
2015-01-07 14:27:29 -08:00
Armon Dadgar
ce83322e16
command/exec: Support foreign datacenters
2015-01-07 14:22:40 -08:00
Armon Dadgar
bb3829c2d9
api: Adding constants for session behaviors
2015-01-07 14:01:27 -08:00
Armon Dadgar
b3f974dee0
website: Link to consul-replicate. Fixes #439
2015-01-07 13:30:30 -08:00
Ryan Uber
60ebd63760
Import HTTP basic auth patch from armon/consul-api#16
2015-01-07 13:01:44 -08:00
Ryan Uber
c58dd8f872
Remove go 1.2 from Travis config
2015-01-07 12:46:21 -08:00
Ryan Uber
c2177c0ed5
Merge pull request #581 from hashicorp/f-consulapi
...
Bring in consulapi
2015-01-07 12:09:44 -08:00
Ryan Uber
6c4ff58d2a
api: improve test reliability
2015-01-06 16:51:28 -08:00
Ryan Uber
0c6c06cb0c
api: use WaitForResult() to improve health tests
2015-01-06 16:18:50 -08:00
Ryan Uber
f49189252e
api: run consul instance on testing ports
2015-01-06 16:18:29 -08:00
Ryan Uber
8455077e5d
api: add harnessing for tests
...
This is necessary as consul-api's tests require a real consul instance
to be running. We can't directly import an agent to fire up an instance,
due to the way this would create an import cycle. These tests instead
will start a consul instance using the binary in $PATH (if it exists).
2015-01-06 15:52:06 -08:00
Armon Dadgar
4192925086
Merge pull request #580 from hashicorp/f-merge
...
Adding merge delegate to prevent mixing clusters
2015-01-06 15:51:01 -08:00
Armon Dadgar
2dcadffb12
consul: Adding merge delegate to prevent mixing clusters
2015-01-06 15:48:46 -08:00
Ryan Uber
5555e0eb9b
api: initial import from armon/consul-api
2015-01-06 10:40:00 -08:00
Armon Dadgar
3ec5e6f363
Merge pull request #578 from hashicorp/f-kv-watch
...
Optimize performance of KV watchers
2015-01-05 17:11:23 -08:00
Armon Dadgar
6c425299db
consul: Test WatchKV
2015-01-05 17:08:01 -08:00
Armon Dadgar
974a97583a
consul: Adding test for KVS.List blocking query
2015-01-05 16:57:48 -08:00
Armon Dadgar
ff9869eee5
consul: Remove dead code
2015-01-05 16:42:30 -08:00
Armon Dadgar
f45d7900b8
consul: Optimize KV watching
2015-01-05 16:41:57 -08:00
Armon Dadgar
3096d6c749
consul: First pass to reduce KV watch cost
2015-01-05 16:18:27 -08:00
Armon Dadgar
e86ed70c70
Merge pull request #577 from hashicorp/f-tombstone
...
Adding KV tombstones to fix non-monotonic index on deletes
2015-01-05 15:29:35 -08:00
Armon Dadgar
73db8cd559
consul: Adding more useful metrics
2015-01-05 15:13:39 -08:00
Armon Dadgar
3d45d76930
consul: Fixing the KVS tests
2015-01-05 15:06:53 -08:00
Armon Dadgar
d842b6da74
consul: Disable tombstones as follower
2015-01-05 14:58:59 -08:00
Ryan Uber
db3c502dcc
Merge pull request #576 from hashicorp/f-verify-config
...
agent: reject config with invalid options
2015-01-05 14:51:28 -08:00
Armon Dadgar
ce6cbab397
consul: Improve log message
2015-01-05 14:43:56 -08:00
Armon Dadgar
62d6fe51e0
consul: Reverting some index compute logic
2015-01-05 14:43:56 -08:00
Armon Dadgar
e7abf17db4
consul: List Keys should handle tombstones
2015-01-05 14:43:56 -08:00
Armon Dadgar
b4292640a5
consul: Ensure KVS List handles tombstones
2015-01-05 14:43:56 -08:00
Armon Dadgar
eb2df41171
consul: Mesure time for reapTombstones
2015-01-05 14:43:56 -08:00
Armon Dadgar
e02e8a4558
consul: Testing leader issue of reap command
2015-01-05 14:43:56 -08:00
Armon Dadgar
55ac84c463
consul: Test FSM Reap operations
2015-01-05 14:43:56 -08:00
Armon Dadgar
c22f172d84
consul: Test FSM restore of tombstones
2015-01-05 14:43:56 -08:00
Armon Dadgar
2a388aa354
consul: Testing tombstone snapshot
2015-01-05 14:43:55 -08:00
Armon Dadgar
a4dad44131
consul: Testing tombstone reaping
2015-01-05 14:43:55 -08:00
Armon Dadgar
089b7655ca
consul: Test tombstone creation
2015-01-05 14:43:55 -08:00
Armon Dadgar
4492ad0ab4
consul: Persist tombstones
2015-01-05 14:43:55 -08:00
Armon Dadgar
bf74361fa7
consul: First pass at tombstone reaping
2015-01-05 14:43:55 -08:00
Armon Dadgar
bcb10cff11
consul: TombstoneReapRequestType -> TombstoneRequestType
2015-01-05 14:43:55 -08:00
Armon Dadgar
76e5237356
consul: Generate a raft operation to reap tombstones
2015-01-05 14:43:55 -08:00
Armon Dadgar
d4b1f368b3
consul: Adding new request to reap tombstones
2015-01-05 14:43:55 -08:00
Armon Dadgar
1120e6fcbd
consul: Leader should reset the tombstone GC clock
2015-01-05 14:43:55 -08:00
Armon Dadgar
3bcf957d95
consul: Adding PendingExpiration
2015-01-05 14:43:55 -08:00