Commit Graph

691 Commits

Author SHA1 Message Date
Ken Breeman
0805ce27e6 Restore backwards compatibility for zookeeper physical backend. Vault already prevents locks and data from overlapping internally. 2015-05-20 23:15:31 -04:00
Ken Breeman
87b8f19d06 Merge branch 'master' into physical_zookeeper_ha
Conflicts:
	physical/zookeeper.go
2015-05-20 22:59:37 -04:00
Ken Breeman
df0d430c00 Implement HA lock loss detection for zookeeper physical backend 2015-05-20 22:54:35 -04:00
Armon Dadgar
f0af785493 physical/s3: skip unit test if missing ENV vars 2015-05-20 17:42:41 -07:00
James Stremick
cdf3ea9688 Removed erroneous mutex and tests. Delete operates on a single key now 2015-05-20 19:53:35 -04:00
James Stremick
a8faf25397 Physical S3 backend implementation 2015-05-20 10:59:03 -04:00
Spencer Herzberg
dc1b219178 recursive zk delete 2015-05-12 11:50:32 -05:00
Spencer Herzberg
a2570da981 fixes #189; zk version conflict
* multiple Puts to the same node causes zk errors
2015-05-12 09:12:00 -05:00
Ken Breeman
5e9e9cfff6 Rough implementation of Zookeeper HA physical backend. Contains breaking changes to 'path' config. Has unresolved TODO's. 2015-05-12 00:37:08 -04:00
Armon Dadgar
b5acfcddb8 physical/consul: Fixing read of leader when standby. Fixes #178 2015-05-11 10:54:29 -07:00
Brandon Philips
4b83fe184e pysical: minor doc error in consul
ot -> to
2015-05-08 23:37:16 -07:00
Armon Dadgar
790a8f836e physical/consul: Fixing path for locks 2015-05-08 15:34:29 -07:00
Armon Dadgar
2c8ecd53bc physical/zk: Style changes and more error checking 2015-05-06 11:08:26 -07:00
Spencer Herzberg
106ef3cc0f fixing default zookeeper port 2015-05-06 08:57:24 -05:00
Spencer Herzberg
9b42038bea be optimistic on zk paths operations
* zk requires paths to be set or the client returns an error
* catch these errors instead of creating the full path
2015-05-05 21:23:24 -05:00
Spencer Herzberg
c4472a2446 cleanup zk HA leftover docs 2015-05-05 17:22:43 -05:00
Spencer Herzberg
e8f8dcbc12 properly default zk address to localhost 2015-05-05 17:20:38 -05:00
Spencer Herzberg
f54accba48 limit round trips on zk delete 2015-05-05 17:14:41 -05:00
Spencer Herzberg
16f9313fdd fixing comment; bad copy-paste-edit 2015-05-05 16:56:49 -05:00
Spencer Herzberg
55f1a7c4d9 initial implementation of non-ha zookeeper 2015-05-05 16:49:18 -05:00
Armon Dadgar
b08560be57 physical/consul: Support address detection using the agent 2015-05-02 15:34:39 -07:00
Armon Dadgar
cb607013da physical: Adding optional interface for addr detection 2015-05-02 15:34:29 -07:00
Mitchell Hashimoto
f676ed4d83 physical/file: open for writing 2015-04-29 11:31:59 -07:00
jjshoe
59092a2449 Sensible permissions on creating a file
Open a file, create it if it doesn't exist, and for gods sake don't leave it 0666.
2015-04-29 13:27:44 -05:00
Mitchell Hashimoto
b0d25340da physical: more sorting to make tests deterministic 2015-04-28 19:01:01 -07:00
Mitchell Hashimoto
424bbb5246 physical: sort strings in test 2015-04-28 18:51:21 -07:00
Paul Hinze
c36486c423 Fix comment typo
It's time to get my first vault commit in! :D
2015-04-22 16:59:16 -05:00
Armon Dadgar
8321a63f7d physical: fix negative cache issue for core keys 2015-04-15 13:48:49 -07:00
Armon Dadgar
db309326c8 physical: Support association of value with lock 2015-04-14 16:36:53 -07:00
Armon Dadgar
18e9e587dd physical: Adding inmem HA for testing 2015-04-14 12:04:15 -07:00
Armon Dadgar
9597035488 physical: First pass at HABackend 2015-04-14 11:49:46 -07:00
Armon Dadgar
ab90bde5e3 physical: Add profiling to Consul backend 2015-04-14 11:09:24 -07:00
Armon Dadgar
37832e5ca1 physical: rename cache 2015-04-14 11:03:18 -07:00
Armon Dadgar
df46478977 physical: Adding simple LRU write-through cache 2015-04-14 11:00:51 -07:00
Armon Dadgar
0d666e755c physical: Default consul path to vault/ 2015-04-03 17:05:18 -07:00
Armon Dadgar
1d2feafee3 physical: Adding Consul backend 2015-04-03 16:44:32 -07:00
Mitchell Hashimoto
60ad9a4ce4 physical: finish super naive file backend
This thing is SUPER slow and has some dumb edge cases. It is only really
meant for development at this point and is commented as such. We won't
document it publicly unless we make it good.
2015-03-15 20:15:27 -07:00
Mitchell Hashimoto
5711997ed4 physical: fix failing test 2015-03-12 14:30:31 -07:00
Armon Dadgar
6a035407be physical: Expose the Inmem implementation 2015-03-05 13:57:30 -08:00
Armon Dadgar
ce7d02f3b0 physical: Factory constructor style for backends 2015-03-05 13:47:10 -08:00
Armon Dadgar
f4e5b10952 physical: Adding interface, in-mem implementation, and skeleton for Consul/File 2015-03-02 10:48:53 -08:00