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
Daniel Malon
bd65cbb7d7
use the service specific address in SRV response
2015-01-05 22:48:30 +00: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
Armon Dadgar
10604a6fa8
consul: Thread Tombstone GC through
2015-01-05 14:43:55 -08:00
Armon Dadgar
103112b591
consul: Fixing accidental commit of transaction
2015-01-05 14:43:54 -08:00
Armon Dadgar
019d511fe7
consul: Fixing tombstone creation and hinting of GC
2015-01-05 14:43:54 -08:00
Armon Dadgar
b79be042d4
consul: Adding GetTxnLimit to MDBTable
2015-01-05 14:43:54 -08:00
Armon Dadgar
99e24160d2
consul: Support reset of tombstone GC
2015-01-05 14:43:54 -08:00
Armon Dadgar
b54aa8a25f
consul: Adding TombstoneGC to track TTLs
2015-01-05 14:43:54 -08:00
Armon Dadgar
a5ddae0de4
consul: Rename TombstoneGC to TombstoneTTL
2015-01-05 14:43:54 -08:00
Armon Dadgar
139568b0eb
consul: Create tombstones before key deletes
2015-01-05 14:43:54 -08:00
Armon Dadgar
1d0aba2f97
consul: Adding TombstoneGC config
2015-01-05 14:43:54 -08:00
Ryan Uber
42ace3a6b5
agent: use mapstructure's Metadata.Unused to detect extraneous config
2015-01-05 14:41:19 -08:00
Ryan Uber
b8740b62da
agent: reject config with invalid options
2015-01-05 12:30:03 -08:00