Armon Dadgar
|
555533e2f8
|
consul: Testing KVS Lock/Unlock in FSM
|
2014-05-20 16:25:29 -07:00 |
Armon Dadgar
|
85656e0f54
|
consul: FSM tests for session
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
137d21fbac
|
consul: Adding support for sessions to FSM
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
8772068163
|
consul: Adding SessionList to snapshot
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
c19806464b
|
consul: Session invalidation releases locks
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
dc1955526c
|
consul: Support KVSLock and KVSUnlock
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
1c484e991d
|
consul: Switch notify to using txn defer
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
5e0639a0eb
|
consul: Adding session invalidation
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
8fec0c093c
|
consul: Adding Defer to MDBTxn
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
222996050d
|
consul: Adding session tests
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
65ccddcd6b
|
consul: Adding SessionDestroy
|
2014-05-20 16:25:28 -07:00 |
Armon Dadgar
|
4695da527a
|
consul: Adding session lookup methods
|
2014-05-20 16:25:27 -07:00 |
Armon Dadgar
|
836e1b5a10
|
consul: Adding SessionCreate and SessionRestore
|
2014-05-20 16:25:27 -07:00 |
Armon Dadgar
|
26ee0e3c76
|
consul: Adding util method to generate a UUID
|
2014-05-20 16:25:27 -07:00 |
Armon Dadgar
|
1e5c8a445c
|
consul: Adding new session tables
|
2014-05-20 16:25:27 -07:00 |
Armon Dadgar
|
d1f392fed3
|
Merge pull request #145 from abursavich/master
consul: use empty slice instead of nil slice when no tags exist for /v1/catalog/services
|
2014-05-19 15:37:43 -07:00 |
Armon Dadgar
|
baa831d847
|
Merge pull request #136 from hashicorp/f-testutil-package
WIP: Proof of concept using `WaitForResult` in tests
|
2014-05-16 15:03:50 -07:00 |
Armon Dadgar
|
e08ca71559
|
consul: Disable conflict resolution. See #97.
|
2014-05-16 14:11:53 -07:00 |
Armon Dadgar
|
1611d986d6
|
consul: Avoid name conflict on WAN ring. Fixes #158.
|
2014-05-16 14:07:53 -07:00 |
Mitchell Hashimoto
|
78b7c57ba3
|
command/agent: find proper private IP on Windows
/cc @armon
|
2014-05-15 11:27:30 -07:00 |
Armon Dadgar
|
03a98ed1d7
|
consul: Remove RPC client tracking. Fixes #149.
|
2014-05-14 17:34:24 -07:00 |
Andrew M Bursavich
|
f48dcf0984
|
use empty slice instead of nil slice when no tags exist for service
|
2014-05-13 00:18:36 -07:00 |
Armon Dadgar
|
686fac0e49
|
consul: Adding a Raft command enqueue limit
|
2014-05-09 19:18:06 -07:00 |
William Tisäter
|
dcfd03be00
|
Add TODOs for failing tests
|
2014-05-09 11:38:29 +02:00 |
William Tisäter
|
335cd5a68a
|
Wait wrap tests in `TestServer_JoinLAN`
|
2014-05-09 03:41:47 +02:00 |
William Tisäter
|
4a9058a07e
|
Sleep since no obvious way to wait for shutdown
|
2014-05-09 03:24:13 +02:00 |
William Tisäter
|
7092ab744b
|
Fix race condition in `TestLeader_RegisterMember`
|
2014-05-09 03:05:38 +02:00 |
William Tisäter
|
048b780d61
|
Fix race condition in `TestCatalogListNodes`
|
2014-05-09 03:00:56 +02:00 |
William Tisäter
|
860cdb9c96
|
Change blocking call sleep time
|
2014-05-09 02:36:25 +02:00 |
William Tisäter
|
a727c59e74
|
Remove all sleeps from `client_test.go`
|
2014-05-09 02:29:51 +02:00 |
William Tisäter
|
7ffc8cd29e
|
Fix race condition in `TestLeader_FailedMember`
|
2014-05-09 02:14:39 +02:00 |
William Tisäter
|
f0a8866d42
|
Remove all sleeps from `internal_endpoint_test.go`
|
2014-05-09 02:11:40 +02:00 |
William Tisäter
|
9e73d1b849
|
Remove all sleeps from `kvs_endpoint_test.go`
|
2014-05-09 02:09:53 +02:00 |
William Tisäter
|
f4597403e3
|
Remove all sleeps from `leader_test.go`
|
2014-05-09 02:04:52 +02:00 |
William Tisäter
|
4e9e14ff93
|
Remove all sleeps from `server_test.go`
|
2014-05-09 01:38:58 +02:00 |
William Tisäter
|
176e3eb9df
|
Remove all sleeps from `status_endpoint_test.go`
|
2014-05-09 01:23:54 +02:00 |
William Tisäter
|
c0de985b91
|
Fix imports in `health_endpoint_test.go`
|
2014-05-09 01:21:13 +02:00 |
William Tisäter
|
14dec397f8
|
Remove all sleeps from `catalog_endpoint_test.go`
|
2014-05-09 01:18:35 +02:00 |
William Tisäter
|
f202123fb1
|
Remove all sleeps from `health_endpoint_test.go`
|
2014-05-09 01:18:08 +02:00 |
William Tisäter
|
78145ecfd5
|
Require datacenter argument for `WaitForLeader`
|
2014-05-09 01:17:35 +02:00 |
William Tisäter
|
05243b35cd
|
Move argument structs back in original position
|
2014-05-07 23:51:15 +02:00 |
William Tisäter
|
93c7103bb5
|
Move `WaitForLeader` calls to top of test
|
2014-05-07 23:47:16 +02:00 |
William Tisäter
|
c8168bd8fe
|
Drop client arguments from `WaitForLeader`
|
2014-05-07 23:41:14 +02:00 |
William Tisäter
|
aa00bfff7d
|
Fix `TestCatalogListNodes_StaleRaad` with `WaitForLeader`
|
2014-05-07 13:53:29 +02:00 |
William Tisäter
|
028bc7e1b4
|
Proof of concept using `WaitForResult` in tests
|
2014-05-07 02:48:25 +02:00 |
Armon Dadgar
|
4a80e73df4
|
consul: Drop the Raft logs size warning from 8MB to 1MB
|
2014-05-06 14:10:08 -07:00 |
Armon Dadgar
|
888ce89b91
|
consul: Fixing for upstream API changes
|
2014-05-01 18:11:36 -07:00 |
Armon Dadgar
|
a325630d7a
|
consul: Support listkeys without seperator
|
2014-04-30 23:44:27 -04:00 |
Armon Dadgar
|
18723c96be
|
consul: Adding ListKeys endpoint
|
2014-04-30 23:44:27 -04:00 |
Armon Dadgar
|
dcbb55b874
|
consul: Adding a key listing mechanism
|
2014-04-30 23:44:27 -04:00 |
Armon Dadgar
|
7098807583
|
consul: Rename Misc RPC to Internal
|
2014-04-30 23:43:59 -04:00 |
Armon Dadgar
|
9c954e81e7
|
consul: Testing the Misc endpoitns
|
2014-04-30 23:43:58 -04:00 |
Armon Dadgar
|
4761ad73b2
|
consul: Adding Misc RPC endpoint
|
2014-04-30 23:43:58 -04:00 |
Armon Dadgar
|
87eba3da8d
|
consul: Adding methods to dump node info
|
2014-04-30 23:43:58 -04:00 |
Armon Dadgar
|
b7e0881df5
|
consul: Hack around LMDB delete issue. Fixes #85.
|
2014-04-29 16:01:20 -07:00 |
Armon Dadgar
|
2c45bd6fe9
|
consul: Expose runtime stats for debugging
|
2014-04-29 10:55:42 -07:00 |
Armon Dadgar
|
a5ab73e67d
|
consul: Adding a warning for large raft entries
|
2014-04-28 22:25:09 -07:00 |
Armon Dadgar
|
2dd0d80274
|
consul: Increase DB size on 64bit systems. Fixes #81.
|
2014-04-28 17:07:59 -07:00 |
Armon Dadgar
|
02fa6e9d96
|
consul: Do not fire ServerUp on WAN node join
|
2014-04-23 12:20:54 -07:00 |
Armon Dadgar
|
b4ae24db02
|
consul: Clear peer set on leave. Fixes #69
|
2014-04-23 11:39:45 -07:00 |
Armon Dadgar
|
018482dc4c
|
Store check output in dedicated field. Fixes #59.
|
2014-04-21 16:20:22 -07:00 |
Armon Dadgar
|
3d9e6795eb
|
consul: Adding strongly consistent read tests
|
2014-04-21 12:08:00 -07:00 |
Armon Dadgar
|
67263e2ca3
|
consul: Testing a stale read
|
2014-04-21 11:57:39 -07:00 |
Armon Dadgar
|
e5e97274d4
|
consul: Adding consistent read enforcement
|
2014-04-21 11:49:21 -07:00 |
Armon Dadgar
|
e706c988b8
|
consul: Merging BlockingQuery into QueryOptions
|
2014-04-21 11:31:15 -07:00 |
Armon Dadgar
|
180cc33030
|
consul: Use QueryMeta to simplify blockingRPC interface
|
2014-04-21 11:18:27 -07:00 |
Armon Dadgar
|
d2b487edb6
|
consul: Move the Index into QueryMeta
|
2014-04-21 11:13:36 -07:00 |
Armon Dadgar
|
beeeb86a12
|
consul: Moving QueryMeta handling into blockingRPC
|
2014-04-21 11:04:52 -07:00 |
Armon Dadgar
|
a2acbe732e
|
consul: Adding a method to enforce consistent read
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
93abc19845
|
consul: Testing QueryMeta
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
afa6a1ae49
|
consul: Adding support for QueryMeta on all queries
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
fa90f1cd0d
|
consul: Support a stale read query
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
a9d4e2357e
|
consul: Switch to RPCInfo
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
cea8a4f9f2
|
consul: Adding RPCInfo to get common info
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
fbc526e8c1
|
consul: Adding additional query options and return meta data
|
2014-04-21 10:59:46 -07:00 |
Armon Dadgar
|
efa972057e
|
consul: Update to use raft-mdb package
|
2014-04-19 13:31:56 -07:00 |
Armon Dadgar
|
7f18a3ca22
|
consul: Fix a 64bit alignment issue for x86-32
|
2014-04-11 11:12:17 -07:00 |
Armon Dadgar
|
365fd58e6b
|
consul: Adding client/server TLS tests
|
2014-04-07 15:07:00 -07:00 |
Armon Dadgar
|
462ed3cee0
|
consul: Refactor to pull out server config
|
2014-04-07 15:07:00 -07:00 |
Armon Dadgar
|
2c212516ee
|
consul: Adding configuration tests
|
2014-04-07 15:07:00 -07:00 |
Armon Dadgar
|
165103d55e
|
consul: Fix decoding of certificate
|
2014-04-07 15:07:00 -07:00 |
Armon Dadgar
|
39a55953af
|
consul: Simplify TLS handling in RPC server
|
2014-04-07 15:07:00 -07:00 |
Armon Dadgar
|
f94dfa4efc
|
consul: Enforce TLS if VerifyIncoming is set
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
7884439b7c
|
consul: Ensure Raft also uses TLS connections
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
1ab9a4ad53
|
consul: Enable incoming TLS connections to server
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
f68d3160d2
|
consul: Server initializes pool with TLS settings
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
00ec592dd1
|
consul: Client initializes TLS settings
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
7beac2a1bc
|
consul: Connection pool supports TLS mode
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
c593632d3c
|
consul: Adding basic TLS configuraiton
|
2014-04-07 15:06:59 -07:00 |
Armon Dadgar
|
ebf98fcea0
|
consul: Export some telemetry on service queries
|
2014-04-04 14:55:44 -07:00 |
Armon Dadgar
|
cef6859069
|
Merge pull request #26 from hashicorp/f-tags
Adding support for multiple tags
|
2014-04-03 15:51:31 -07:00 |
Armon Dadgar
|
ed39e90e3a
|
consul: Adding reconcilation to handle reaped Serf nodes. Fixes #15.
|
2014-04-03 15:51:09 -07:00 |
Armon Dadgar
|
7f399a0ecc
|
consul: Adding test for multiple tags with lookup
|
2014-04-03 12:07:17 -07:00 |
Armon Dadgar
|
4a1faf435c
|
consul: Updating all the tests
|
2014-04-03 12:03:10 -07:00 |
Armon Dadgar
|
13bff3a09b
|
consul: Change state store to support multiple tags
|
2014-04-03 12:03:02 -07:00 |
Armon Dadgar
|
283c5d1be1
|
consul: Replace single tag with list of tags
|
2014-04-03 11:23:55 -07:00 |
Armon Dadgar
|
5ff482dec0
|
consul: FSM snapshot can avoid type assertion
|
2014-04-01 12:10:58 -07:00 |
Armon Dadgar
|
9473bbe7bf
|
consul: Avoid loading all KV pairs during a snapshot
|
2014-04-01 11:55:25 -07:00 |
Armon Dadgar
|
8172526801
|
consul: Support a streaming transaction
|
2014-04-01 11:42:07 -07:00 |
Armon Dadgar
|
4ccb2d4a73
|
consul: More efficient restore of KVS entriesg
|
2014-04-01 11:29:55 -07:00 |
Armon Dadgar
|
512c6895e4
|
consul: Adding raft endpoint to force a snapshot
|
2014-03-31 20:09:16 -07:00 |
Armon Dadgar
|
8f2ef0d7d2
|
consul: Fixing blocking query if set table is at index 0
|
2014-03-31 20:00:46 -07:00 |
Armon Dadgar
|
94df059026
|
consul: Enable a recursive delete of all keys
|
2014-03-31 20:00:01 -07:00 |
Armon Dadgar
|
1b2dd17f93
|
consul: Test the remaining KVS endpoints
|
2014-03-31 16:18:44 -07:00 |
Armon Dadgar
|
fc5110405c
|
consul: Adding tests for endpoint method
|
2014-03-31 16:10:49 -07:00 |
Armon Dadgar
|
3e9dc6d8b6
|
consul: First pass at KVS endpoints for RPC
|
2014-03-31 16:00:23 -07:00 |
Armon Dadgar
|
47ad40a925
|
consul: Adding KVS RPC endpoint
|
2014-03-31 14:15:49 -07:00 |
Armon Dadgar
|
6ca5c7c49d
|
consul: Testing FSM application of KVS commands
|
2014-03-31 14:13:03 -07:00 |
Armon Dadgar
|
c31232fb70
|
consul: FSM support to snapshot/restore KVS values
|
2014-03-31 13:56:16 -07:00 |
Armon Dadgar
|
f91e12fe30
|
consul: Adding FSM support for KVS operations
|
2014-03-31 13:41:43 -07:00 |
Armon Dadgar
|
9cfea72d2a
|
consul: Snapshot KVS store support
|
2014-03-31 13:31:31 -07:00 |
Armon Dadgar
|
860cfd7497
|
consul: Support DeleteTree
|
2014-03-31 13:20:08 -07:00 |
Armon Dadgar
|
dfb8c03659
|
consul: Adding support for KVSList
|
2014-03-31 13:12:35 -07:00 |
Armon Dadgar
|
59703cbfae
|
consul: Adding support for virtual indexes
|
2014-03-31 13:06:29 -07:00 |
Armon Dadgar
|
8d7c5fc9cd
|
consul: Implementing Check-And-Set
|
2014-03-31 12:37:11 -07:00 |
Armon Dadgar
|
f87c47424c
|
consul: Implement KVSDelete
|
2014-03-31 12:24:06 -07:00 |
Armon Dadgar
|
6744ee62be
|
consul: Implement and test KV get and set
|
2014-03-31 12:13:57 -07:00 |
Armon Dadgar
|
a6086e1750
|
consul: Adding KVSDeleteTree operation
|
2014-03-31 12:13:40 -07:00 |
Armon Dadgar
|
a365b30792
|
consul: Adding kvs table to state store
|
2014-03-31 11:48:32 -07:00 |
Armon Dadgar
|
6e51251cc1
|
consul: Adding new directory structs for KVS
|
2014-03-31 11:47:10 -07:00 |
Armon Dadgar
|
2d937bc0a8
|
consul: Only close the cursor for read-only transactions (mdb)
|
2014-03-27 10:48:04 -07:00 |
Armon Dadgar
|
80439376cf
|
consul: Should not clear the peer set
|
2014-03-25 14:57:00 -07:00 |
Armon Dadgar
|
966daed094
|
consul: Fixing issue with cursors not closing in MDB
|
2014-03-25 13:30:19 -07:00 |
Armon Dadgar
|
ab5a3d3721
|
consul: Set maximum consul DB size to 128MB
|
2014-03-25 13:29:42 -07:00 |
Armon Dadgar
|
32e500e012
|
consul: Set maximum raft log size to 128MB
|
2014-03-25 13:29:15 -07:00 |
Armon Dadgar
|
ad8e25917b
|
consul: Handle reaping of serf members
|
2014-03-20 12:51:49 -07:00 |
Armon Dadgar
|
73b6ac322b
|
consul: Increase default reap time to 3 days
|
2014-03-20 12:39:06 -07:00 |
Armon Dadgar
|
7d4e099566
|
consul: Ignore new Serf events
|
2014-03-12 12:46:14 -07:00 |
Armon Dadgar
|
cd6842ff6b
|
consul: Add tags for consul protocol versions
|
2014-03-09 15:46:03 -07:00 |
Armon Dadgar
|
2a8d998968
|
consul: Adding protocol version numbers
|
2014-03-09 15:18:36 -07:00 |
Armon Dadgar
|
e914c0a70b
|
consul: Fixing subtle delete issue
|
2014-03-05 19:32:09 -08:00 |
Armon Dadgar
|
ad2d5752c9
|
consul: Peg Serf proto version to 3
|
2014-03-05 15:32:59 -08:00 |
Armon Dadgar
|
98fffdacb5
|
consul: Handle API changes in StateStore
|
2014-03-05 15:03:12 -08:00 |
Armon Dadgar
|
37a16979d7
|
consul: Log instead of panic. Change NodeServices to return nil.
|
2014-03-05 15:02:28 -08:00 |
Armon Dadgar
|
ca5a9cac23
|
consul: Providing logOutput to StateStore
|
2014-03-05 14:34:29 -08:00 |
Armon Dadgar
|
1b1cb3be11
|
consul: Passthrough the Serf Stats()
|
2014-02-23 18:08:58 -08:00 |
Armon Dadgar
|
2362b397fa
|
consul: Adding Stats() method to get various debugging information
|
2014-02-23 16:37:33 -08:00 |
Armon Dadgar
|
800975200a
|
consul: Increase network timeout value
|
2014-02-22 11:13:59 -08:00 |
Armon Dadgar
|
e54d8f6c07
|
consul: Reduce the number of raft snapshots we keep
|
2014-02-22 10:57:22 -08:00 |
Armon Dadgar
|
5e790b02a9
|
If not in bootstrap mode, clear the raft peerset
|
2014-02-21 15:21:27 -08:00 |
Armon Dadgar
|
5d8783148b
|
consul: Only add ourself to the peerset if we are in bootstrap mode
|
2014-02-20 16:27:14 -08:00 |
Armon Dadgar
|
421c4d6933
|
consul: Do not replay events on serf join
|
2014-02-20 16:27:03 -08:00 |
Armon Dadgar
|
889297dc99
|
consul: Adding telemetry
|
2014-02-20 15:16:26 -08:00 |
Armon Dadgar
|
7123c6315b
|
consul: Use serf event to announce new leader
|
2014-02-19 12:36:27 -08:00 |
Armon Dadgar
|
035f9f6a5a
|
Add test file for structs package
|
2014-02-07 16:40:52 -08:00 |
Armon Dadgar
|
c1637b4978
|
agent: Adding server up callback to make state sync faster
|
2014-02-07 12:11:34 -08:00 |
Armon Dadgar
|
d7b3174804
|
consul: ConnPool multiplexes a single connection instead of using multiple
|
2014-02-05 16:19:05 -08:00 |
Armon Dadgar
|
e0b1315171
|
consul: Make some ConnPool methods private
|
2014-02-05 15:30:19 -08:00 |
Armon Dadgar
|
15d2a6a51e
|
consul: Allow receiving RPC connections
|
2014-02-05 15:29:52 -08:00 |
Armon Dadgar
|
e72ad27850
|
TODO cleanups
|
2014-02-05 14:54:35 -08:00 |