Yicheng Qin
148394f66f
storage: fix schedule compaction bug in recover process
...
It uses wrong schedule compaction reversion before.
2015-06-18 11:11:37 -07:00
Yicheng Qin
26a09d8479
storage: enhance TestRestore and kill TODO
2015-06-18 10:37:12 -07:00
Yicheng Qin
80a59f00b7
storage: fix limit mismatch in Range func
2015-06-17 17:43:08 -07:00
Yicheng Qin
93f477944b
storage: return ErrFutureRev if rev is a future one
2015-06-17 17:42:43 -07:00
Yicheng Qin
94924d04db
storage: add TestRangeBadRev
2015-06-17 16:22:28 -07:00
Yicheng Qin
9ad5e1e64f
storage: kill TODO in TestRange
2015-06-17 15:58:28 -07:00
Yicheng Qin
500894dfe5
storage: add TestWorkflow
2015-06-17 14:38:21 -07:00
Yicheng Qin
7b1a93e1ef
storage: put storage info keys into information bucket
...
They used to be in key bucket, and make recover failed because they
cannot be parsed as normal key.
2015-06-17 14:37:29 -07:00
Xiang Li
ba9a46aa02
storage: initial snapshot and restore
...
Snapshot takes an io.Writer and writes the entire backend data to
the given writer. Snapshot writes a consistent view and does not
block other storage operations.
Restore restores the in-memory states (index and book keeping) of
the storage from the backend data.
2015-06-10 11:32:10 -07:00
Xiang Li
f47ed4a364
storage: initial compact
2015-06-05 09:22:44 -07:00
Xiang Li
d417b36e5d
storage: refactor key_index
2015-05-31 15:24:04 -07:00
Xiang Li
6c207b9277
stroage: kill todo
2015-05-27 14:46:59 -07:00
Xiang Li
69d02410cf
stroage: adopt KV interface
2015-05-27 14:24:23 -07:00
Xiang Li
cbb8b9bb08
stroage: add tnx id
2015-05-27 10:35:51 -07:00
Xiang Li
9c1aec6877
storage: add rangeKeys func
2015-05-27 09:58:21 -07:00
Xiang Li
fb12a4e412
storage: fix a deadlock in batch tx
2015-05-27 09:31:11 -07:00
Xiang Li
93ecf36855
storage: support tnx
2015-05-27 09:31:11 -07:00
Xiang Li
9db360387d
storage: support Range
2015-05-27 09:31:11 -07:00
Xiang Li
7bb388ed52
storage: initial kv api
2015-05-27 09:31:11 -07:00
Xiang Li
49da7b6556
storage: add boltdb as dependency
2015-05-27 09:24:49 -07:00
Xiang Li
e332e86b5d
storage: address barak's comments
2015-05-20 17:47:35 -07:00
Xiang Li
845cb61213
storage: add kv and event proto
2015-05-18 14:35:10 -07:00
Xiang Li
9575cc4258
storage: add delete example
2015-05-15 19:33:59 -07:00
Xiang Li
4b0d9f69c7
storage: add a simple backend and kv example
2015-05-14 20:43:32 -07:00
Xiang Li
9d831e3075
*: godep btree
2015-05-14 17:59:55 -07:00
Xiang Li
660fd5e3e1
storage: add comment around compact
2015-05-14 17:55:54 -07:00
Xiang Li
ee47973199
storage: initial index
2015-05-14 17:53:41 -07:00
Xiang Li
32d44aa3b2
storage: initial key index
2015-05-14 17:35:12 -07:00